No products in the cart.

Difference between do while loop and …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Difference between do while loop and while loop?
  • 1 answers

Sia ? 3 years, 5 months ago

BASIS FOR COMPARISON WHILE DO-WHILE
General Form while ( condition) {
statements; //body of loop
}
do{
.
statements; // body of loop.
.
} while( Condition );
Controlling Condition In 'while' loop the controlling condition appears at the start of the loop. In 'do-while' loop the controlling condition appears at the end of the loop.
Iterations The iterations do not occur if, the condition at the first iteration, appears false. The iteration occurs at least once even if the condition is false at the first iteration.
Alternate name Entry-controlled loop Exit-controlled loop
Semi-colon Not used Used at the end of the loop
http://mycbseguide.com/examin8/

Related Questions

Tell me i.t. syllabus
  • 1 answers
What is python language
  • 1 answers
what is mutlimedia corse
  • 0 answers
Computer
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App