Is it possible to multiply a char by an int?
For example, I am trying to make a graph, with *\'s for each time a number occurs.
So something like, but this d
The statement should be:
char star = "*";
(star * num) will multiply the ASCII value of '*' with the value stored in num
To output '*' n times, follow the ideas poured in by others.
Hope this helps.