I am relatively new to this.
I need help on how to change an output from a number into a
chararcter such as an asterisk - *.
The perosn would input a number and then my program would change that number into the amount of asterisks needed.
for example:

the number inputed is 5. then I want to output - *****

any help would be appreciated