0

I have a big proplem in loops!!

I can't understand how to make shapes by "for loop" I tried too much but I can't get it and Tomorrow I've an Exam in it , helllp!!

4th Jan 2017, 8:04 PM
Kareem Mohammedmagdi
Kareem Mohammedmagdi - avatar
7 odpowiedzi
+ 4
I have 2 codes for just random shapes that i've made, so if you want go and check them out
5th Jan 2017, 1:15 AM
Filip
Filip - avatar
+ 1
may be so for (int i=0,i <5,i++){ cout <<'*'*i;} for (int i=5,i >0,i--){ cout <<'*'*i;} Or i++++ Or i+=i I don't remember c++
4th Jan 2017, 8:16 PM
Maxim Kuzmin
Maxim Kuzmin - avatar
0
I don't understand you
4th Jan 2017, 8:11 PM
Maxim Kuzmin
Maxim Kuzmin - avatar
0
shapes by loop?
4th Jan 2017, 8:11 PM
Maxim Kuzmin
Maxim Kuzmin - avatar
0
what it means
4th Jan 2017, 8:11 PM
Maxim Kuzmin
Maxim Kuzmin - avatar
0
making shape like this * *** ****** **** *** *
4th Jan 2017, 8:12 PM
Kareem Mohammedmagdi
Kareem Mohammedmagdi - avatar
0
ok thx
4th Jan 2017, 8:20 PM
Kareem Mohammedmagdi
Kareem Mohammedmagdi - avatar