Computer Science, asked by rd784737, 2 months ago

Reply me.INTER-CONVERSION OF FOR LOOP TO WHILE LOOP​

Attachments:

Answers

Answered by snehagayakwad83
0

Answer:

When to Use Each Loop

Use a for loop to iterate over an array.

Use a for loop when you know the loop should execute n times.

Use a while loop for reading a file into a variable.

Use a while loop when asking for user input.

Use a while loop when the increment value is nonstandard.

Similar questions