Question
In Java Please don't copy from previous answers. Program Description: In this project, you will write a program called GradeCalculator that will calculate the grading
In Java
Please don't copy from previous answers.
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 ex am scores.
Your program then prompts for each students name and the scores for each exa m. The exa m 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 students 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: 90-100 is A, 80-89 is B, 70-79 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started