Computer Applications
Related Questions
Identify all the errors in the following repetitive statements.
while (z < 1 && z > 100) { a = b; }
Identify all the errors in the following repetitive statements.
while (x == y) { xx = yy; x = y; }
What are the differences between while loop and do-while loop?
Convert the following for loop statement into the corresponding while loop and do-while loop:
int sum = 0; for (int i= 0; i <= 100; i++) sum = sum + i;