Can someone help me to create a small program in which I can create star designs
ID: 3623760 • Letter: C
Question
Can someone help me to create a small program in which I can create star designs according to the user input. This have to be done with loops because it has to show that if the user first hits A , and then he inputs 3 for the number of rows then the design is:*
**
***
if the design inputs B and then, lets say 4 for the number of rows the design will be:
****
***
**
*
If the user inputs c and then, any number (lets say 5) for the numbers of rows the output is.
*
**
***
****
*****
Finally in the case that the user inputs d and then lets say 4 the output is:
****
***
**
*
If the user inputs x then the program will end the loop