+ 1
What's the error??
#include <iostream.h> #include <conio.h> void main() { int a,b; clrscr(); for(a=1;a<=6;a++) { for(b=1;b<=i;b++) cout<<b<<" "; cout<<"\n"; } getch(); }
4 Respostas
+ 5
And might be b<=a not i
+ 4
SL means SoloLearn.
+ 3
Run it on offline compiler (eg. Cxxdroid) not SL
0
What is SL