Got Eggs?
In MP5 you wrote a program to generate some statistics on a file containing egg weights. In this exercise you will expand what you did in MP5 to include a pie chart and bar charts as well as egg statistics.
The general layout of your program should follow the interface shown below. The user should be allowed to specify the file for analysis by using the DriveListBox, DirectoryListBox and the FileListBoxes. The analysis to be selected should use a combo box (dropdown list). The analysis will be performed when the user click on the "Do the Analysis" button.
Analyses
If the user selects the statistics option, the program will read in the data file and generate the following statistics when the "Do The Analysis" button is pressed.:
If the user selects the bar chart option, the program should read in the egg weights and generate a bar chart similar to the one shown below when the "Do The Analysis" button is pressed:
If the user selects the pie chart option, the program should read in the egg weights and generate a pie chart simular to the one shown below when the "Do The Analysis" button is pressed:
Notes
A sample input data file is available here.
Name your project mp6.prj.
