⌛ Counting the Mean

Learning outcomes

I will learn to write, compile and run a simple Java program.

Place your code into a file named Mean.java.

Write a program that receives one or more numbers as command line parameters, converts them into double values, and prints out their mean in the form “Mean: x”, where x is the arithmetic mean of the numbers.

Example

The first test runs your program as follows:

java Mean 78.0625 73 92.125 47.0625 95.25 57.0625 28.25 37.125

The expected program output is:

Mean: 63.4921875

A+ presents the exercise submission form here.

Posting submission...