Write a C++ program to calculate the, mean, median and mode of an array elements. A data set of following 11 numbers are to be stored in an array. The array needs to be initialized in the main()...

My registration number is 689Write a C++ program to calculate the, mean, median and mode of an array elements.<br>A data set of following 11 numbers are to be stored in an array. The array needs to be<br>initialized in the main() function with numbers based on your Registration Number<br>(reg#):<br>reg# reg#<br>reg# reg# reg#<br>- 27<br>reg# reg# reg# reg# reg#<br>+ 26<br>reg#<br>- 14<br>- 20<br>+ 19<br>+ 16<br>+ 12<br>- 23<br>- 27<br>- 30<br>Example: If your reg# is 712, then:<br>698<br>685<br>692<br>731<br>728<br>712<br>738<br>724<br>689<br>685<br>682<br>-The mean is the average of data. means, The mean is the sum of whole data<br>divided by the number of data elements.<br>• -The median is the middle number in the ascending ordered set of data or<br>average of two middle numbers in case of even number of data elements of the<br>ordered array.<br>-The mode is the most common number in the set of data.<br>

Extracted text: Write a C++ program to calculate the, mean, median and mode of an array elements. A data set of following 11 numbers are to be stored in an array. The array needs to be initialized in the main() function with numbers based on your Registration Number (reg#): reg# reg# reg# reg# reg# - 27 reg# reg# reg# reg# reg# + 26 reg# - 14 - 20 + 19 + 16 + 12 - 23 - 27 - 30 Example: If your reg# is 712, then: 698 685 692 731 728 712 738 724 689 685 682 -The mean is the average of data. means, The mean is the sum of whole data divided by the number of data elements. • -The median is the middle number in the ascending ordered set of data or average of two middle numbers in case of even number of data elements of the ordered array. -The mode is the most common number in the set of data.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here