Purpose: Exercise, use, Inputs, Outputs, and perform conditional evaluation
Due Date: 09-Feb-2015
Requirements: (Multiple classes/Multiple types of input)
Input: Report Owner’s full name and 7 numbers (at least one double and one integer)
The owner’s name can not contain any special characters, blank spaces, or numbers
You must use an if statement and at least one switch statement in your program
You are not allowed to have static variables or methods in any class except for the class with the main method.
You have to have at least 2 classes in your program
You are not allowed to use ArrayLists or Vectors, only primitive arrays or string arrays if you want.
Application Operation:
1.) Input, via a question in the console, the report owner’s first name as a string and build the last name via input, one character at a time.
Check, conditionally, to make sure the first name and last name don’t contain any numeric characters, numbers between 0 – 9. If it does you must remove it. The names can not contain any white space either or special characters.
2.) Input report name via a request from the console.
3.) Input, and display, the total of the numeric input after each input is entered. Average the numeric input, indicate lowest numeric input value and the highest numeric input value for the previous numeric inputs, before the next numeric input is asked for. (Example given in class)
4.) Have a program exit input, condition, value available (i.e. if you type -1 the program exists)
5.) Create and display a final report that should have the report name, owner and the following:
Numeric output should appear as a table with the following columns: (columns should be underlined)
Input Number
Highest Number
Lowest Number
Total (by the row)
Average Number
6.) At the end of the report you must have a grand total for the numeric entries
*The class outline (UML) is described in figure 5.2, which is