Question
Write a program with a main method that calls three methods. The three methods are: printAverage: calculates and prints the average of three numbers. printRandom:
Write a program with a main method that calls three methods. The three methods are: printAverage: calculates and prints the average of three numbers. printRandom: selects and prints 3 random number between 1, 10 inclusive. printHighLow: prints out the highest of 3 numbers and the lowest of 3 numbers. Your main method should ask the user for 3 test grades (integers) and calls the three methods described above. None of the calculations may be done in the main method. All your output should be in sentences such as. Your average is 7.6 Your highest number was 9 Your lowest grade was 2
Code this in java eclipse.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started