new too,but have some answers :)

the for loop is used when we know the exact number of itterations that are going to be done.It is written as this


for(part1;part2;part3)

part1 is executed...