I'm trying to design a program that will display the following:
*****
****
***
**
*
I'm sure there is some way to use loop constructs to make even 100 rows of the previous message, but I'm not sure how.
I was thinking of using a 'for' construct to generate numbers from 5 to 1, and then assigning each number to a certain number of *, but even this I don't know how to do.