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.



![@param args not used */ public static void main(String[] args) //NOTE: *Write](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2022/11/638279bfc8724_231638279bf8f1bd.jpg)

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




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
Get step-by-step solutions from verified subject matter experts
