63.9k views
3 votes
The ideal type of loop to use if you want a user to enter exactly 20 values is a(n) ________ loop.

User Antonky
by
8.7k points

1 Answer

6 votes

Answer:

use for loop when you know how much iteration user is going to perform.

if iteration is not confirmed and you want execute your loop atleast once use do while.

No related questions found