Question: Create a program to calculate simple descriptive statistics on numbers stored in an array (you can require that a fixed number of numbers be entered

  1. Create a program to calculate simple descriptive statistics on numbers stored in an array (you can require that a fixed number of numbers be entered e.g. always calculate on 10 numbers).
    • Create a form that allows the user to enter a number and a button that when clicked will update three labels: Sum, Average, and maximum of all numbers entered.
    • Store the numbers in an array.
    • Create specific methods to calculate Sum, Average, and Maximum for the numbers stored in the array.

Advanced additions (optional):

  • Calculate the number of numbers that are above average
  • Add a label that is continuously updated with all the entered numbers
  • Print out the distinct numbers entered. That is, if a number is entered multiple times, it should only be printed once. Hint: store the numbers in a new array, but only if the number isnt stored already.
  • Determine how many of each number was entered (e.g.three 5s, four 6s etc). C#

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!