When is ‘for’ used?
If the programmer knows the exact number of repetitions to be carried out among the set of statements then ‘for’ conditional statement is used in a program.