Lab 3

Histogram of Ratings

Due Wednesday, February 15th, 11:55pm. Submission through SVN.
Please submit your work in SVN directory
https://www.cs.usfca.edu/svn/< your username >/cs112/lab3

e.g.
https://www.cs.usfca.edu/svn/ejung/cs112/lab3

Goal

Design and implement an application Histogram.java 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 doubles that are in the range 0.0 to 5.0 inclusive from a file (sample input file); then produce a chart like the one below that indicates how many input values fell in the range 4 to 5 star, 3 to 4 star, and so on. Print one asterisk for each value entered.
16 reviews
4-5 star: * 		(1)
3-4 star: * 		(1)
2-3 star: **** 		(4)
1-2 star: ******	(6)
0-1 star: **** 		(4) 
OR
16 reviews
4-5 star: * (1)
3-4 star: * (1)
2-3 star: **** (4)
1-2 star: ****** (6)
0-1 star: **** (4) 

Specifications

What to submit

Submit README that explains how your program works, and Histogram.java to your SVN. In your README, explain how you handle errors.