Question: Given the following task, which would be the most appropriate method heading? A method receives three whole numbers as input. The values represent grades. They

Given the following task, which would be the most appropriate method heading?

A method receives three whole numbers as input. The values represent grades. They should be unchangeable in the method. The method should return the average with a fractional component.

a. static double DetermineGrade(int grade1, int grade2, int grade3)

b. static int DetermineGrade(int grade1, int grade2, int grade3)

c. static int int int DetermineGrade(double finalAverage)

d. static double DetermineGrade(ref int grade1, ref int grade2, ref int grade3)

e. static void DetermineGrade( )

Step by Step Solution

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 Systems Analysis Design Questions!