Comp 151 Project 7

Your Last project (and there was much rejoicing?)

Due: Thursday Dec 9th at 11:59pm

Summary: In this last project you will use many of the programming skills that you have learned through the semester with a special focus on using arrays.


Since this is your last project, you are given freedom to design this project as you see fit with only a few restrictions listed here in the requirements and the Addional Restrictions section below:

Your program must
  1. repeatedly  prompt your users to enter a number grade When the user enters the grade, store it in an array or an ArrayList. (make the array or ArrayList an instance variable in one of your classes). Do this until the user enters the sentinal value indicating the end of the data entry.
    1. make sure to tell the user what the sentinal value is
    2. if you are using an array rather than an array list make sure to create an array of at least size 25 to hold all of the values.
  2. once you have the data all entered to the following to the data (not necessarily in this order)
    1. print out the lowest value
    2. print out the highest value
    3. print out the average of all values
    4. print out the middle value.
    5. sort the data
    6. print out the entire sorted data collection.

Additional restrictions:
To help you get in the habit of good program writing, I am imposing the following additional restrictions on your program.


again zip up your project folder and submit it to me by email. Make sure that your submitted zip file contains your first initial and last name as part of the zip file name.