A "do while....." statement is a looping instruction to a program to repeat a stage in the program while some condition is true - e.g while a variable is negative, or, while one variable is less than another. A "do for ....." statement is a looping instruction to a program to repeat a stage in the program a set number of times - e.g for steps = 1 to 10, or, for steps = 1 to (some variable).
There is no difference. Both statements are invalid.
difference between command and statement
differance between control statement and looping statement?
"Abridged" is more condensed, while "detailed" is just as it implies - detailed, with all financial details, facts and figures included.
Matters of fact are statements that can be proven true or false through observation or evidence, while relations of ideas are statements that are true by definition or logic.
A descriptive statement simply describes a situation or phenomenon, while an explanatory statement seeks to provide reasons or causes for why something is the way it is. Descriptive statements focus on providing details and observations, while explanatory statements aim to offer insight and understanding.
The main difference is how often they run. A conditional statement - often an IF - may or may not run. If it does (depending on whether a condition is fulfilled), it runs only once. A looping statement - often a WHILE or FOR - is designed to repeat, while a certain condition is true.
The First Crusade was highly successful, while the Second was not.
Whay is the difference between remainder statement and standard statements?
The difference between the lies of P lying and the truth is that lies are intentionally false statements made to deceive, while the truth is a statement that accurately reflects reality.
In while, from the very first term, every time, the related conditions in while will be checked and then the statements will execute. But, in do-while, all the statements under do will execute once and then compiler will check the while condition. Therefore, only first time only statements will execute without checking the conditions in while, but not from the second term repetition. written by DILSHAN MADUSANKA dilshanmadusanka@yahoo.com
Whay is the difference between remainder statement and standard statements?