132k views
4 votes
Write a program that creates a histogram that allows you to visually inspect the frequency distribution of a set of values. the program should read in an arbitrary number of integers from a text input file that are in the range 1 to 100 inclusive; then produce a chart similar to the one below that indicates how many input values fell in the range 1 to 10, 11 to 20, and so on. print one asterisk for each value entered.

User Khiav Reoy
by
7.7k points

1 Answer

4 votes
Look it up on google ma boi
User Peter Bons
by
8.3k points