Question: Write a Java program called Average Method which creates a method called CalcAvg that accepts two integer parameters 23 and 45 and returns the average.
Write a Java program called Average Method which creates a method called CalcAvg that accepts two integer parameters 23 and 45 and returns the average.
Step by Step Solution
3.35 Rating (164 Votes )
There are 3 Steps involved in it
Below is a simple Java program that includes a method called calcAvg which takes two inte... View full answer
Get step-by-step solutions from verified subject matter experts
