Question: need help please java language Task Your task is to read a list of students name and grades in a class from the standard input.
Task Your task is to read a list of students name and grades in a class from the standard input. The first line of the input contains one integer that indicates how many lines (students) follow. Student names will always be two strings (first name and last name) separated by whitespace. Print out the average score on the last line as shown below. The letter grade will be determined by the Z-score for the assignment. The score depends on the mean and the standard deviation. The student letter grade for the assignment is based on how many standard deviations away from the mean that student number grade is. More information about thisz-scores can be found on the wikipedia page here. For this project the letter grade will be determined by the following cut-offs: A-10,10-B-0.0.0.0-0-10-10>D-20, -2.0F The first names are aligned to the right in the columns of width 15, and the last names are left aligned in columns of width 15. All the columns are separated by one space. The score is right-aligned with a width of 5 The grade column is right-aligned with width 5, the score is right-aligned with width 5 and 2 decimal places right of the decimal point, the letter grades shown. There is a space between the average and is rounded to two decimal places Sample input: 5 John Smith 75 Judy Smith 36 Mehdy Bohlool 72 John Terry 59 Marry Williams 100 Sample output: Name John Sith Judy Smith Mehdy Bohlool John Terry Marry Williams Average 78.40 Score Z Grade 75 -0.25 86 0.55 72 -0.46 C 59 -1.41 D 100 1.56 A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
