Intro to Java Classwork: Mean Calculator, Part 1
Write a Java program named "MeanCalculatorPart1.java" that uses a
'for' loop to ask for and get from the user exactly five numbers
of type 'double' (decimal numbers).  The user should enter one
number per line, and should press the ENTER key after each entry.

Your program should not store the user's numbers.  After all five
numbers have been entered, your program should display the average
(mean) of the five numbers, rounded to two decimal places (if
necessary).

Your program does not need to perform any error trapping.  That
is, you may assume that the user will enter only decimal numbers
(no strings).

For this assignment, you are not permitted to put all of your code
in the 'main' method.  Instead, you must put nearly all of your
code into separate user methods, with the 'main' method consisting
almost exclusively of variable declarations and calls to the user
methods.  In addition to 'main', your program must have a method
that gets the five numbers from the user, and another method that
computes and displays the mean.

For this program, other than the 'Scanner' class, you may not import
or use any external methods.  However, you may use global variables
in your program.  Your program's output should be neat, organized,
and easy to understand.


As always, all of your code must be your own, written entirely and
only by you within your online CodeHS.com account.  You must never
copy/paste, receive, view, or in any way use code that was created
or modified by another person, entity, or artificial intelligence.


Advanced Option
In addition to computing the average of the user's five numbers,
determine and display the range of the user's numbers.  The range
is the user's largest number minus the user's smallest number.