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
Get step-by-step solutions from verified subject matter experts
