0
Pls help to resolve this error
int i = 11; for(i,i<=5,i++) { cout << i; }
6 Respuestas
+ 5
Also use ; instead of , in for loop
Example :
for(int i =1 ; i<5 ; i++)
{
.......
}
+ 2
For loop will never run as condition
5>=11
will never hold true.
Hope this helps ☺️☺️.
0
u need to add - “ “ , after i. like this :
cout<< i <<“ “ ;
0
let me chk i just try for loop in c++
0
hi meet ,thanks
0
:)