Hello I'm a newbie c++ student, I would like to ask how can I get this kind of program output by using c++:
10 10 10 10 10 10 10 10 10 10
9 9 9 9 9 9 9 9 9
8 8 8 8 8 8 8 8
7 7 7 7 7 7 7
6 6 6 6 6 6
5 5 5 5 5
4 4 4 4
3 3 3
2 2
1
and this:
1 2 3 4 5
2 3 4 5
3 4 5
4 5
5
pls help me coding this.. any code using while, for, else or if.. thx for those who can help me.. thanks in advance..