cout << "Gradual increase:\n";
for (int a=1; a <= 5; a++) {
for (int b=0; b <= a; b++)
cout << b;
cout << endl;
}
cin.get ();
}
Shows up as :
01
012
0123
01234
012345
I've been asking my friend, and his given me a couple of hints, on how to shorten the program and stablize the rest of it. But this program didnt work out, i cant figure out what exactly i did wrong... Don't answer it for me, just tell or show me the line i messed up on, and ill figure it out form there, wanna work my brain so i emorize how to do all of this.