What is for loop and while loop?
Sigiloso
In For loop, first the variable is initialised then condition is given and if condition is true then we keep on increasing the value of variable. In while loop, it continues to run till the condition remains true.