Hello everyone, I am new to C++ and I want to make an inverted pyramid so it follows the form of:
55555
4444
333
22
1
The goal is to make it look like that pattern by entering the number that I want to be starting from. So if I input 5 it will look like that. Thank you.
If I say you enter an arbitrary number 'N', how many numbers will print for the 'Nth' row?
How many for the 'N-1'th row?
How could you count down like that and print that many numbers?