akosiraff

Download: Movie Statistic C++

Feb 12th, 2013
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/movie-statistic-c/
  3. Movie Statistic
  4. Write a program that can be used to gather statistical data about the number of movies
  5. college students see in a month. The program should ask the user how many students were
  6. surveyed and dynamically allocate an array of that size. The program should then allow the
  7. user to enter the number of movies each student has seen. The program should then calculate
  8. the average, median, and mode of the values entered.
  9. Formulas Needed:
  10. Median is the middle number in a range of ordered values. If the number of values is even,
  11. the median is the average of the middle two values.
  12. examples:
  13. (1,2,3,4,5) Median = 3
  14. (1,2,3,4,5,6) Median = 3.5
  15. Mode is a number that is repeated most often. There can be more than one mode value.
  16. examples:
  17. (13, 13, 13, 13, 14, 14, 15, 16, 17) Mode = 13
  18. (13, 13, 13, 14, 14, 14, 15, 16, 17) Mode = 13 and 14
  19.  
  20. Download: http://solutionzip.com/downloads/movie-statistic-c/
Add Comment
Please, Sign In to add comment