Write a program that will be used to gather statistical data

Assignment Help C/C++ Programming
Reference no: EM131920

Write a program that will be used to gather statistical data about the number of movies college students see in a month. The program should perform the following steps:

- Read integers from movies.txt into a dynamically allocated array. The first number in movies.txt shows the number of students participating in this survey. The rest of the numbers represent the number of movies each student saw.

- Sort the array in ascending order operating Insertion Sort.

- Show the sorted array 10 numbers per line.

- Determine and display the following:

o Average

o Median: the value in the middle of a sorted array; if the array contains an even number of elements, the median is the average of the two middle elements.

o Mode: the value that occurs most often; if the array has no mode, the mode is -1.

Insertion Sort using pointer and display the sorted array 10 numbers per line using a pointer

Calculate average using a pointer and median

Determine the mode

Reference no: EM131920

Questions Cloud

Case study - choose a public inquiry : Effective time management forms part of the assessment criteria
Prepare a web application : Prepare a web application that will be used to keep track of patients registering in a hospital.
Demonstrate the influence of environmental and behavioural : Demonstrate the influence of environmental and behavioural factors on structure, corporate size and strategy
What is bill''s opportunity cost of producing one hat : What is Bill's opportunity cost of producing one hat, In which of the two activities does Mary have a comparative advantage.
Write a program that will be used to gather statistical data : Write a program that will be used to gather statistical data about the number of movies
Create a viral marketing video of antique products : Create a viral marketing video of antique products
Problem of the book assuming that the utility is cobb-dougla : Consider the problem of the book assuming that the utility is Cobb-Douglas (U (C, l) = C α l β )
Coordination of the activities of a business : The organization and coordination of the activities of a business in order to achieve defined objectives.
Ethics assessment - ethics research tom denigan : Ethics Assessment - Ethics Research Tom Denigan

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd