English

State one similarity between while loop and do-while loop. - Computer Applications

Advertisements
Advertisements

Questions

State one similarity between while loop and do-while loop. 

What is the similarity between while and do-while loop?

Answer in Brief

Solution

  1. The purpose of both loops is to repeatedly run a series of statements.
  2. In order to end the loop, both loops examine a logical condition. 
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.09: Iterative Constructs in Java - EXERCISES [Page 124]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.09 Iterative Constructs in Java
EXERCISES | Q V. 7. (ii) | Page 124
Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.09 Iterative Constructs in Java
Review Insight | Q 2. | Page 120
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×