+ 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
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
0
yes contain 2 parts for-for
:xD