Question: Answer in Java CSC 222 Program 3: Grade Calculator Due: Topics: if statement, for loop, arithmetic and relational operators Program Description: In this project, you

Answer in Java Answer in Java CSC 222 Program 3: Grade Calculator Due: Topics:

CSC 222 Program 3: Grade Calculator Due: Topics: if statement, for loop, arithmetic and relational operators Program Description: In this project, you will write a program called GradeCalculator that will calculate the grading statistics of a desired number of students. Your program should start out by prompting the user to enter the number of students in the classroom, and the number of exam scores. Your program then prompts for each student's name and the scores for each exam. The exam scores should be entered as a sequence of numbers separated by a blank space. Your program will also check for negative scores. If any score is negative, it will prompt the user to reenter the scores. You do not have to deal with inputs that are not numbers. For each student, calculate the student's the average score, lowest score, highest score, letter grade, and the number of stars to give the student. Once the letter grade has been calculated, use it to calculate an appropriate number of stars the student will received. The letter grade is computed as followed: 90100 is A, 80-89 is B, 7079 is C, 60-69 is D, 59 and below is F. The number of stars is assigned as followed: A is 4 stars, B is 3 stars, C is 2 stars, D is 1 star, and F is 0 stars (no star). Your program must print the stars using a loop. The program then displays the statistics about the student as shown in the sample run. Before the program terminates, it prints the class statistics: average grade, lowest grade, highest. See sample output for format. CSC 222 Program 3: Grade Calculator Due: Topics: if statement, for loop, arithmetic and relational operators Program Description: In this project, you will write a program called GradeCalculator that will calculate the grading statistics of a desired number of students. Your program should start out by prompting the user to enter the number of students in the classroom, and the number of exam scores. Your program then prompts for each student's name and the scores for each exam. The exam scores should be entered as a sequence of numbers separated by a blank space. Your program will also check for negative scores. If any score is negative, it will prompt the user to reenter the scores. You do not have to deal with inputs that are not numbers. For each student, calculate the student's the average score, lowest score, highest score, letter grade, and the number of stars to give the student. Once the letter grade has been calculated, use it to calculate an appropriate number of stars the student will received. The letter grade is computed as followed: 90100 is A, 80-89 is B, 7079 is C, 60-69 is D, 59 and below is F. The number of stars is assigned as followed: A is 4 stars, B is 3 stars, C is 2 stars, D is 1 star, and F is 0 stars (no star). Your program must print the stars using a loop. The program then displays the statistics about the student as shown in the sample run. Before the program terminates, it prints the class statistics: average grade, lowest grade, highest. See sample output for format

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!