Answered step by step
Verified Expert Solution
Link Copied!

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

  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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Privacy In Statistical Databases International Conference Psd 2022 Paris France September 21 23 2022 Proceedings Lncs 13463

Authors: Josep Domingo-Ferrer ,Maryline Laurent

1st Edition

3031139445, 978-3031139444

More Books

Students also viewed these Databases questions

Question

What is conservative approach ?

Answered: 1 week ago