Answered step by step
Verified Expert Solution
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
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
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