All pastes #216013 Raw Edit

Unnamed

public text v1 · immutable
#216013 ·published 2006-10-22 22:27 UTC
rendered paste body
1.Add a method called weightedGrade(int iIn) to the Student class. This method will take an number of type 'int' and return a decimal number of type 'float':
2.Obtain the gpa from a call to the method that calculates the gpa and set the result to a variable declared within this method to hold the gpa.

public float weightedGrade(int iIn)
    {
        private float weightedGPA;

        weightedGPA = new GPACalc();
        return weightedGPA;
    }