+ 2

Who approve this code guys?

int main() { for(int i=0;i<4;i++){ for(int j=0;j<=4;j++) cout<<"*"; cout<<endl; } } You can change only (i<4) (i<=4) values to any and you must have smthing like this * ** *** ****

1st Aug 2017, 4:57 PM
Vladyslav Sabadakh
Vladyslav Sabadakh - avatar
4 Réponses
+ 11
int main() { for(int i=0;i<4;i++){ for(int j=0;j<=i;j++) cout<<"*"; cout<<endl; } }
1st Aug 2017, 5:00 PM
P R
P R - avatar
+ 9
don't worry everyone gets better with time keep practicing
1st Aug 2017, 5:02 PM
P R
P R - avatar
+ 2
Omfg, thanks, its to hard for 6 lvls, and it takes so much time to think
1st Aug 2017, 5:01 PM
Vladyslav Sabadakh
Vladyslav Sabadakh - avatar
+ 1
yeap, me 2
1st Aug 2017, 5:04 PM
Vladyslav Sabadakh
Vladyslav Sabadakh - avatar