Computer Science, asked by granthsharma41, 9 hours ago

5.
What is an empty statement? Explain its useful
Convert the following for loop statement into the corresponding while loop and do-while loop:
int sum = 0;
for (int i = 0; i <= 50; i++)
sum = sum + 1;
INC
ion while loon and do-while loop?​

Answers

Answered by shreyanshkr636
0

Answer:

5.

What is an empty statement? Explain its useful

Convert the following for loop statement into the corresponding while loop and do-while loop:

int sum = 0;

for (int i = 0; i <= 50; i++)

sum = sum + 1;

INC

ion while loon and do-while loop?

Similar questions