The assignment is as follows:
Write a program that asks for the number of rows and plots the figure below, depending on the integer you have entered. The question of the number of rows to be repeated after printing to new character to be drawn. If you enter 0 as the number of rows then the program ends.
Examples from running:
Enter the number of lines (enter 0 to exit): 3
*
**
***
Enter the number of lines (enter 0 to exit): 6
*
**
***
****
*****
******
Enter the number of lines (enter 0 to exit): 10
*
**
***
****
*****
******
*******
********
*********
**********
I need advice on how to achieve a solution to this problem, i dont want the entire code, maby just some Pseudocode to get me started so i can solve this myself?
The problem im having right now is that when i assign "Char a = 42; and multiply it by 1, it just jumps to the next ASCII character and it doesen't add a similar *.
Should i even use ASCII to solve this? or is there a better way?
Any advice to get me started is much appreciated

Thanks!