You will get email Reply within few hours

Saturday 17 August 2013

Movie Statistic

Movie Statistic




Write a program that can be used to gather statistical data about the number of movies college students see in a month. The program should ask the user how many students were surveyed and dynamically allocate an array of that size. The program should then allow the user to enter the number of movies each student has seen. The program should then calculate the average, median, and mode of the values entered.

Formulas Needed:




Median is the middle number in a range of values ex:



(1,2,3,4,5) Median = 3



Mode is a number that is repeated most often ex:

(13, 13, 13, 13, 14, 14, 15, 16, 17) Mode = 13





Objectives Covered



· Numbers and Objects

· Control Flow

· Using functions

· Implementing arrays

· Pointers






Final submission along with Code




Documentation & Naming Style Sheet
1.Opening Documentation: the header block should include the following: ◦Program name/syntax
◦Description of what the program does
◦Summary of the problem's specifications and assumptions
◦License info (optional)
◦References to sources of additional information used
◦Parameters
◦Class/Program Invariant (ensure these conditions are true)
◦Algorithm(s) used (including any special notes)
◦Output (any print statements, files created, etc.)
◦Return values (does it return any parameters?)
◦Name of the authors (plus contact info)
◦Creation & modification dates









Need Solution Email me: topsolutions8@gmail.com