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.
7.6m questions
10.2m answers