Overload the average method of Exercise 7.1 such that if three integers are provided as parameters, the

Question:

Overload the average method of Exercise 7.1 such that if three integers are provided as parameters, the method returns the average of all three.


Data From Exercise 7.1:

Write a method called average that accepts two integer parameters and returns their average as a floating point value.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java Software Solutions

ISBN: 9789353063610

9th Edition

Authors: John Lewis, William Loftus

Question Posted: