Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
- 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started