Okay that's what I'll do, thanks for your help!
Type: Posts; User: Freezer Boy
Okay that's what I'll do, thanks for your help!
Calling it getAverge is actually a mistake on my part, I'm so used to calling things get I didn't realize it didn't make sense here. The book actually says to call it calculateAverage, so that was...
I'm having some trouble trying to figure out how to assign a value to a variable being passed through a method parameter. First of all here is my relevant code:
public static void main(String[]...
Yeah sorry, I did have code at the end of main that printed out the total number of males and females as well as their average GPA.
Anyway thanks for the help, that got it all to work right. I...
So this is my first time on these forums so if this is in the wrong spot, I apologize.
This is the input file I have:
f 3.40
f 4.00
m 3.56
m 3.80