answersLogoWhite

0

A do-while loop is only useful when you want the loop to execute at least once. This is because the conditional expression is evaluated at the end of each iteration, rather than before each each iteration as it is in a for and a while loop.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What tense uses had or have?

The tense that uses "had" is the past perfect tense, while the tense that uses "have" is the present perfect tense.


What does Mac use instead of BIOS?

Windows uses BIOS while MAC uses EFI


How are the poems "The Lady's Dressing Room" and "The Dean's Provocation . . ." different?

Swift centers his poem around one character, while Montagu uses 2. -apex


Is uses and purposes the same thing?

Uses and purposes are related but not the same. "Uses" refer to the practical applications or functions of something, while "purposes" denote the reasons or intentions behind those uses. In essence, uses describe how something is utilized, while purposes explain why it exists or is employed in a particular way.


Why is using a pen differ from writing with a pencil?

A pen uses ink while a pencil uses lead.


Everyday uses of decimals?

while calculating on a calculator !


What is the difference between a joint and a splice?

Splice uses stranded wires while joint uses solid wire.


What is the difference between vrv system and chiller?

Chiller uses chilled water while vrv uses refrigerant directly


What is the difference between herbal and synthetic medicine?

herbal medicine uses herbal leaf while synthetic uses drugs


What guitar does rin and len kagamine use?

Rin uses an electric guitar while Len uses a bass guitar


Does Chevy Cruze have a timing belt?

The 1.8L engine uses a timing belt, while the 1.4L engine uses a timing chain.


How are the poems The Lady's Dressing Room and The Dean's Provocation similar to each other?

both are satirical writings