Question: Having trouble with this code, cant seem to get itright. Not sure what I'm doing wrong. It also had populated a@param error so not sure

Having trouble with this code, cant seem to get itright. Not sure what I'm doing wrong. It also had populated a@param error so not sure if those are correct as well. Cansomeone please help me out. Thank you. Pleasealso provide output if you are able.9 10 11 public class GradeCalculatorWithMethods 12 { 13 14 15 1617 18 19 20 21 22 23 24 25 26 27 2829 20 31 32 3 35 36 37 38 39 40 4142 3 44 45 46 47 30 33 */ 43 /** *@param args not used */ public static void main(String[] args) //NOTE: *Writeall class methods and complete the main method last* //Call method to

This is the output and other information. Please showoutput as well if you can as well. Thank you.

introduce application to user { } /** giveIntro (); { //Call fourmethods to get averages/grades and assign the return to variables double homeworkAvg= getHomeworkAvg(); double testAvg = getTestAvg(); double midtermExamAvg = getMidtermExamGrade(); double finalAvg= getFinalExamGrade(); //Call method to calculate average passing all four averages/grades and

9 10 11 public class GradeCalculatorWithMethods 12 { 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 20 31 32 3 35 36 37 38 39 40 41 42 3 44 45 46 47 30 33 */ 43 /** * @param args not used */ public static void main(String[] args) //NOTE: *Write all class methods and complete the main method last* //Call method to introduce application to user { } /** giveIntro (); { //Call four methods to get averages/grades and assign the return to variables double homeworkAvg = getHomeworkAvg(); double testAvg = getTestAvg(); double midtermExamAvg = getMidtermExamGrade(); double finalAvg = getFinalExamGrade(); //Call method to calculate average passing all four averages/grades and assign it to a variable double gradeAvg = calculateGradeAverage (homeworkAvg, testAvg, midtermExamAvg, finalAvg); //Output the formatted final grade System.out.printf("Yout final grade is: %.2f%n", finalAvg); //Call the method to get the letter grade and pass the average //Note: We can nest method calls inside print (ln) statements - try it! //For ex: System.out.println (methodName (parameterVariable)); //will return a value and output it simultaneously System.out.println(getLetterGrade (gradeAvg)); * This method gives the introduction to the program. */ public static void giveIntro ()

Step by Step Solution

3.48 Rating (164 Votes )

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 Electrical Engineering Questions!