Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have been provided with a File called studentList.txt where each line in the file contains information about a specific student from the UM system.

image text in transcribed
You have been provided with a File called "studentList.txt" where each line in the file contains information about a specific student from the UM system. The information in each line is as follows: A unique integer valued identity of the student b. a. The students current GPA (floating point type) Year of school the student currently attends (String type: Freshmen, sophomore, junior, or senior) c. d. The school from UM system the student attends (String type: MST, UMSL, UMKC, or Mizzou) Each of this information in the file is separated by a whitespace Write a C++program that will read this file and store all the information in an array of a user defined structure datatype containing data members that will be able to store the information provided in the file Using this array your program should display the answers to the following queries: i. How many student records are present in the file provided? i How many students from each school have a GPA of 4.00? i How many students have a GPA of 4.00 and are also attending their Senior school year? iv What is the mean of the GPA for freshmen, sophomore, junior, and senior students attending MST? a. Out of them, which year has the highest mean and the lowest mean? Your program should be designed using functions, where ever you deem appropriate. At least four separate functions to answer the queries above must be present. Note: Download and save the input file in the same location as that your C++file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

1. What is Ebola ? 2.Heart is a muscle? 3. Artificial lighting?

Answered: 1 week ago