Question: This lab presents us with our first statistics-related programming challenge: creating an application that will report some of the descriptive measurements of data. As the

This lab presents us with our first statistics-related programming challenge: creating an application that will report some of the descriptive measurements of data. As the developer, you have some freedom in choosing how you go about solving the challenge described below. The important thing is that you select an appropriate programming language (such as C++ or C#), and submit both your source code and proof that your solution works.

Your solution should allow for the following scenario:

When the application loads, the user is prompted to enter a list of numbers.

The list of numbers can vary in size, but must contain at least one number.

The user must indicate when the list is complete, either by (1) specifying the size of the list ahead of time, or (2) clicking a button or submitting a token value at the end of the list.

The application uses the numbers in the list to output the mean, median, and mode.

The application should handle all numerical values as floats to allow for precision.

All output should be rounded to the first decimal place.

The application should allow users to start the process over without having to exit and restart the application.

Test your application by entering the following values: 1, 7, 24, 34, 11, 34

If successful, your application should report the following results:

Mean: 18.5

Median: 17.5

Mode: 34

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!