Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

help OOP Lab #10 Using your knowledge in c++. Demonstrate a project that contains a file called Class Grades.txt, then read student's names and Grades

image text in transcribed

help

OOP Lab #10 Using your knowledge in c++. Demonstrate a project that contains a file called "Class Grades.txt", then read student's names and Grades from the file and store them into separate arrays, and then do the following: 1. Firstly, you create a ID string array called names to store each student name. 2. Secondly, you create a 2D int array grades to store student's original quizzes Grades, the array has 7 columns, the original 6 Quizzes Grades must be stored in the following columns : [0,1,2,3,4,5]. Store in the last column the average of the Grades. 3. Thirdly, Get the grades from the array called "grades, then calculate the average and determine the letter of that final grade. Hint: The following functions are required: 1. "PutGrades" to read and save data into both "names and grades arrays. 2. "Grades_Average to calculate each student Grade average, The grades average must be repented as letters e.g: A >= 90, b >= 80 ..... Then find the Maximum and Minimum Grade. Finally, we calculate average grades of the average column. 3. Use a function called show to display all of the results. Assume there are exactly 20 students in the class

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

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions

Question

What is problem recognition?

Answered: 1 week ago