Question: Create a main method to read 10 numbers entered by the user in the standard input into an array. Also call other methods that you
Create a main method to read 10 numbers entered by the user in the standard input into an array. Also callother methods that you will define in addition to mainas described below: (2pts)
- A method to print a welcome message on the screen with instructions on how to use the program (2 pts)
- A method to receive the array of numbers as a parameter and return the average (2pts)
- A method that receives the array of numbers and the average, and divide each number in the array by the average. Print each number with 2 decimals. (2 pts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
