Bar chart printing program one interesting application of


Question: (Bar Chart Printing Program) One interesting application of computers is drawing graphs and bar charts (sometimes called "histograms"). Write a program that reads five numbers (each between 1 and 30). For each number read, your program should print a line containing that number of adjacent asterisks. For example, if your program reads the number seven, it should print *******.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Bar chart printing program one interesting application of
Reference No:- TGS02403762

Now Priced at $15 (50% Discount)

Recommended (90%)

Rated (4.3/5)