Horizontal Bar Chart Program Help!


Write a program that reads 5 numbers (each between 1 and 25). For each number that’s read, your program should print a line containing that number of adjacent asterisks. (Hint: use nested for statements)


Sample input: 5 6 7 2 3
Sample output:
*****
******
*******
**
***
Send me a private message.
Topic archived. No new replies allowed.