Computer Science, asked by anubasumatary760, 1 year ago

Differentiate between while, do...while and for loops in terms of their syntax.

Answers

Answered by nitish8089
3
1.
while (condition){
// statement}
2.
do{
// statement}while(condition);
3.
for(intialization; condition; iteration){
// statement}
::all loop are used by there requirements::
you have too choose the loop wisely according to what type of instruction given
Similar questions