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 integers.
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, and after all five
integers have been entered, your program should display the average
(arithmetic mean) of the five numbers, rounded to (up to) two decimal
places, depending on how many digits come after the decimal point.
That is, if the average has zero, one, or two digits after the decimal
point, do not perform any rounding or add any extra zeros to the end
of the number.  But if the mean has more than two digits after the
decimal point, round to two decimal places. For example, 7.486 becomes
7.49, 21.854 becomes 21.85, 307.09 stays at 307.09, 6.8 stays at 6.8,
and 52 stays at 52 (not 52.0).

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

For this program, other than the 'Scanner' class, you may not
import or use any external methods.  However, it is okay to put
all of your code inside the 'main' method of your program.


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 integers,
determine and display the range of the user's numbers.  The range
is the largest number entered minus the smallest number entered.