Difference between for loop and do while loop
FOR LOOP=The loop in which statements get executed if and only if the condition is satisfied..
Syntax: for(i=0:i<n;i++)
{
//Code
}
DO WHILE LOOP=The loop in which statements executed at least one time even though if the condition is not satisfied..
R...
bhanu04.hashnode.dev1 min read