[Solved] I am thinking about for loop termination is it halts the loop or what’s the actual story [closed]


You need to put your code within the for block. Remove the semicolon

For(i=1;i<=num;i++)

{
// code here
}

2

solved I am thinking about for loop termination is it halts the loop or what’s the actual story [closed]