cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Horizontal Bar Chart Program Help!
Horizontal Bar Chart Program Help!
Sep 23, 2016 at 3:34am UTC
master12
(8)
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:
*****
******
*******
**
***
Sep 23, 2016 at 3:36am UTC
SakurasouBusters
(732)
Send me a private message.
Topic archived. No new replies allowed.