Question: Write the following static methods and run them in the main to test. getHighest() this method will take 3 int values as parameters and then

Write the following static methods and run them in the main to test. getHighest() this method will take 3 int values as parameters and then return the highest of them. getLowest() this method will take 3 int values as parameters and then return the lowest of them. What is the difference between the actual parameter and the formal parameter? getAverage() this method will take 3 int values as parameters and then calculate and return the Average. With these methods, you can compare grades for three students. Add code to do this in the main method. Dont forget proper input and output and call your methods to accomplish this.

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 Databases Questions!