+ 2

Can someone help me make this program on C++

Se have to print on screen this exact numbers using loops 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1

28th Feb 2018, 4:01 PM
Kevin Nieto
Kevin Nieto - avatar
3 Réponses
+ 3
program will contain 2 parts... for i....1 to n for j.....1 to i print(j) for i....(n-1) to 1 for j.....1 to i print(j) put n=5
28th Feb 2018, 4:14 PM
sayan chandra
sayan chandra - avatar
17th Apr 2018, 9:58 AM
Masoud Rabiee
Masoud Rabiee - avatar
0
yes contain 2 parts for-for :xD
17th Apr 2018, 10:02 AM
Masoud Rabiee
Masoud Rabiee - avatar