answersLogoWhite

0

The do ..while loop is executed at least once, whereas the while loop may not be executed even once.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the difference between while dowhile?

While: If we can use while statement it will check the condition then proceed further loop statement.DoWhile: If we use dowhile, first execute loop statement then check the condition.


What is difference between while and dowhile?

the test condition will be checked first after wards the body of the loop will be excuted in while statement and the the do while statement represented the body of the loop will be executed first and then the test condition will checked next


What is a dowhile statement in C programming?

"do statement while (...);" is a loop which does at least one iteration even if the condition after while is false. When, for instance, "while(...) statement" does not iterate at all if the condition after while is false.


Differences between if else and while loop?

Easy: if-else is not a loop; while, for and do-while are loops.if-else just run once, but do-while run many times.


What is the similarities between for and while statement?

similarities


Is a DOWHILE loop more flexible than a dountil loop?

No, they are equivalient. DO something WHILE condition; does the same thing as DO something UNTIL NOT condition;


Difference between for and while loop not in syntactically?

Well 'while' goes like this: while (condition) statement 'for': for (initialize; condition; after-each-loop) statement


What is the difference between stop and end statement?

A 'stop' statement may only introduce a delay while an 'end' statement terminates the process.


What are the key differences between a cover letter and a statement of purpose when applying for a job or academic program?

A cover letter is a brief introduction highlighting your qualifications and interest in a specific job or program, while a statement of purpose is a more detailed essay explaining your background, goals, and reasons for applying. The cover letter is tailored to a specific position, while the statement of purpose focuses on your overall academic or career aspirations.


What is a factual statement about differences in IQ test scores in the US?

Research has shown that there are persistent differences in IQ test scores across different racial and ethnic groups in the US, with some groups consistently scoring higher or lower on average than others. However, it is important to note that while there may be differences in average scores, individual differences within each group are greater than differences between groups.


What is unique about a DOWHILE loop?

A DO-WHILE loop will always execute at least one iteration of the loop body. This is because the condition that controls the loop comes at the end of the loop, rather than at the beginning as per a WHILE or FOR loop.


What is the difference between a fact and a statement?

The difference between fact and statement is that a fact is something that is empirically true and can be supported by evidence while a statement is a belief that may or may not be backed up with some type of evidence.