Question: Create a grade calculator for this class that says whether the final grade is A, B, C, D or F once you enter all grades.

Create a grade calculator for this class that says whether the final grade is A, B, C, D or F once you enter all grades. Do not include things such as bonus points or extra points on the final grade. *Hint: You may find it helpful to look up information on my posted syllabus (the weights of Hws, tests and other contributions to your final grade). You should use the methods we created in class (in ClassCode13-you can just copy these methods directly into your program) since most of the actual work of the program has been done for you in these methods. In addition to these methods, you should create another method that prints out your letter grade based on your final numerical grade. "Hint: make sure you understand how the whole program in ClassCode13 functions since your program is simply variation of it. Methods used in ClassCode13: int I enterinput(String message, int size) double getAvg(int a) double getWeightedGrade(int percent, double avg) Create yourself: void letterGrade(double g) This method takes in a number (your final grade) and prints out the letter value assoclated with it. It does not return anything. *CSE 1310 grade calculator!*** Please enter test grades: Enter grade 1: Enter grade 2: 78 Enter grade 3: 89 Please enter HW grades: Enter grade 1: 100 Enter grade 2: 98 Enter grade 3 78 Enter grade 4: 45 Enter grade 5: 100 Enter grade 6 89 Enter grade 7: 92 Enter grade 8 91 Please enter quiz grades: Enter grade 1: 89 Enter grade 2: Enter grade 3: 100 Enter grade 4: 100 Enter grade 5: 57 Please enter final exam grade: Enter grade 1: 78 Total grade is: 85.41 You made a B! Create a grade calculator for this class that says whether the final grade is A, B, C, D or F once you enter all grades. Do not include things such as bonus points or extra points on the final grade. *Hint: You may find it helpful to look up information on my posted syllabus (the weights of Hws, tests and other contributions to your final grade). You should use the methods we created in class (in ClassCode13-you can just copy these methods directly into your program) since most of the actual work of the program has been done for you in these methods. In addition to these methods, you should create another method that prints out your letter grade based on your final numerical grade. "Hint: make sure you understand how the whole program in ClassCode13 functions since your program is simply variation of it. Methods used in ClassCode13: int I enterinput(String message, int size) double getAvg(int a) double getWeightedGrade(int percent, double avg) Create yourself: void letterGrade(double g) This method takes in a number (your final grade) and prints out the letter value assoclated with it. It does not return anything. *CSE 1310 grade calculator!*** Please enter test grades: Enter grade 1: Enter grade 2: 78 Enter grade 3: 89 Please enter HW grades: Enter grade 1: 100 Enter grade 2: 98 Enter grade 3 78 Enter grade 4: 45 Enter grade 5: 100 Enter grade 6 89 Enter grade 7: 92 Enter grade 8 91 Please enter quiz grades: Enter grade 1: 89 Enter grade 2: Enter grade 3: 100 Enter grade 4: 100 Enter grade 5: 57 Please enter final exam grade: Enter grade 1: 78 Total grade is: 85.41 You made a B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
