Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

develop a C++ program for reporting grades for a class. Your program should read in an input file of student grades records, and it should

develop a C++ program for reporting grades for a class. Your program should read in an input file of student grades records, and it should produce an output file of student grades records plus a report (output to monitor) of grade distributions. Your program would read in the records from the file one record at a time (sequentially) and output one record at a time to the output file, it update an array of grades. After building the array of grades, then it processes the array to print the grade distributions histogram. The program will also build array each student score in the class and then sort it (use bubble sort) then out put the LOWEST SCORE IN CLASS, HIGHEST SCORE IN CLASS, and NUMBER OF STUDENTS.

TEXT FILE SAMPLE: (WILL ADD MORE STUDENTS)

student # Exam1 Exam2 Quiz1 Quiz2 Lab1 Lab2 Final 43423 67 99 40 70 52 78 90 37476 84 71 89 76 91 88 90

OUTPUT DESIGN: ______________________________________

A ( 90 100) *************

B ( 80 89) ********************

C ( 70 79) ************************

D ( 60 69) **************

F ( 00 59) ******** LOWEST SCORE IN CLASS : 99

HIGHEST SCORE IN CLASS: 999

NUMBER OF STUDENTS: 999 EXAM01 AVERAGE: 999.99

EXAM02 AVERAGE: 999.99

EXAM03 AVERAGE: 999.99

EXAM04 AVERAGE: 999.99

FINAL AVERAGE: 999.99 LABS AVERAGE: 999.99

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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions