Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Define statistical functions that sort an array, find minimum and maximum number in the array, calculate range, mean and median of the numbers in the
Define statistical functions that sort an array, find minimum and maximum number in the array, calculate range, mean and median of the numbers in the array. Write a main program that display menu to do these:
- Insert - to input 20 numbers into one dimensional array,
- Sort - call functions sort that have been defined earlier and display the result
- Mean - call functions mean that have been defined earlier and display the result
- Median - call function median that have been defined earlier and display the result
- Range - call function median that have been defined earlier and display the result
- Exit - will stop the program from running, otherwise the program will continuously running by asking user to input choice from the menu.
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