# asgn3 - CSCI 1120 Introduction to Computing using C(1st...

• Homework Help
• 3

This preview shows pages 1–2. Sign up to view the full content.

CSCI 1120 Introduction to Computing using C++ (1 st Term 2011-12) Assignment #3 Due: 7 th Nov 2011 (Monday) Full Score: 100 Introduction Your goal is to implement several functions that can be used to gather some statistical info from the data stored in an array, and then build an executable program from multiple source files to test your implementation. Specification Input Input to your program consists of only one positive integer, N , which represents the number of data stored in an array. The data in the array will range from 1 to 50. Output a) Number of data in each of the following ranges: 1-10, 11-20, 21-30, 31-40, 41-50 b) Mean of the data c) Standard deviation of the data calculated as 2 1 2 1 x x N N i i where x i is the i th data and x is the mean. d) Mode In case of tie, choose the smallest number among all numbers with the same frequency. e) Median If N is an odd number, pick the middle number (after sorting the numbers) If N

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Fall '12
• Computer program, Executable, multiple source files

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern