Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Homework Assignment 2 Due on Sunday 18 March 2018 Write a C++ program that starts by reading student information from an input file student.txt organized

image text in transcribed

image text in transcribed

image text in transcribed

Homework Assignment 2 Due on Sunday 18 March 2018 Write a C++ program that starts by reading student information from an input file student.txt organized as follows: each student has four fields of information on one line of the input file: name at most 25 characters, terminated by acharacter), ID (integer), cohort (integer), and three scores (each score is an integer between 0 and 100)The program must store this information in two parallel arrays. The first array i array is a two-dimensional array of integers with 5 columns for the ID, the cohort and the 3 scores. The program must calculate for each student a letter grade (and store it a third parallel array of characters) based on the average of his/her three scores according to the following criteria: I array of strings for the names. The second s a o Average of 90 80 and

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

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions