Question: Design and implement a program (in JAVA or C#) that defines three methods as follows: Method max (int x, int y, int z) returns the
Design and implement a program (in JAVA or C#) that defines three methods as follows:
Method max (int x, int y, int z) returns the maximum value of three integer values.
Method min (int X, int y, int z) returns the minimum value of three integer values.
Method average (int x, int y, int z) returns the average of three integer values.
In the main method, test all three methods with different input value read from the user. Document your code and properly label the input prompts and the outputs as shown below.
Sample run 1:
You entered: 20, 8, 12
Max value: 20
Min value: 8
Average value: 13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
