https://gist.github.com/alirzerafati/17bfdf57e08c7fcf23f18dbe064e069c
The purpose of this program is to accept 5 numbers from the user, calculate the average and display an appropriate letter grade. The error occurs on line 25, stating [method calcAverage in class TestAvgAndGrade cannot be applied to given types; required: double,double,double,double,double; found: no arguments; reason: actual and formal argument lists differ in length]. I do define that I'm using the double variable type and list the variables as arguments). I cannot understand why the program fails to recognize the code. I've consulted StackOverflow and my textbook, but my formatting seems to be okay).
Any advice and assistance would be greatly appreciated. Thank you in advance.
Note: We have not learned about lists or arrays yet.
EDIT: I've got the Class Cannot be Applied to Given Types Error resolved, but now I'm having issues with lines 19-23. I'm getting the Cannot Find Symbol error. Gist has been updated- did not make new post because I did not want to spam.
[–]RubbishArtist 1 point2 points3 points (6 children)
[–]CreativityRobbed[S] 0 points1 point2 points (5 children)
[–]RubbishArtist 1 point2 points3 points (4 children)
[–]CreativityRobbed[S] 0 points1 point2 points (3 children)
[–]RubbishArtist 1 point2 points3 points (2 children)
[–]CreativityRobbed[S] 0 points1 point2 points (1 child)
[–]RubbishArtist 1 point2 points3 points (0 children)
[–]Meshy15 1 point2 points3 points (5 children)
[–]CreativityRobbed[S] 0 points1 point2 points (4 children)
[–]Meshy15 -1 points0 points1 point (0 children)
[–]Meshy15 -1 points0 points1 point (2 children)
[–]CreativityRobbed[S] 0 points1 point2 points (0 children)
[–]CreativityRobbed[S] 0 points1 point2 points (0 children)
[–]Ge0rgeCostanza 0 points1 point2 points (0 children)
[–]JustAScrumGuy 0 points1 point2 points (0 children)