Question
C++ Complete programming problem #7 from page 702 in your book. Instead of getting the input from the console, use the data file provided: read
C++
Complete programming problem #7 from page 702 in your book. Instead of getting the input from the console, use the data file provided: read data file to find out how many students there are (loop - remember I may test with a different file) dynamically create an int array to store the number of movies dynamically create a string array to hold the names of the students (the two arrays will be parallel) populate the arrays (hint: loop through the file again) write three different functions to determine the average, median and mode (see #6 for an explanation of the median function) write a function to display the average, median and mode, AND the student's name who saw the least amount of movies and the student who saw the most amount of movies call all functions from main () use pointer variables- see programs 10-9 through 10-18 All functions should have arguments No global variables are allowed
Murray Brandl 3 Christal Delamater 4 Zetta Kinlaw 7 Elia Roy 3 Delmer Bibb 4 Joannie Nevers 4 Roselle Gose 10 Jonathan Basnett 0 Marcel Earwood 12 Marina Newton 2 Magdalen Stephan 3 Deane Leach 5 Mariana Crosley 6 Darby Froman 5 Shonda Kyzer 4 Ilana Netto 4 Candida Magnani 1 Laurena Stiverson 2 Elouise Muir 4 Rene Holiday 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started