Explore BrainMass

C++ Generate a Report for Summarizing Student Scores and Avg

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

A certain professor has a file containing a table of student grades, where the first line of the file contains the number of students and the number of scores in the table; each row of the table represents the exam scores of a given student and each column represents the scores on a given exam. The maximum possible score on each exam was 100 points. Write a program that, given the name of such a file, generates a report summarizing the overall percentage for each student and the average score on each exam.

© BrainMass Inc. brainmass.com March 21, 2019, 4:26 pm ad1c9bdddf

Solution Preview

This program inputs variable number of columns and rows corresponding to exams and students. It does so by allocating dynamic memory for the table given in the input file ...

Solution Summary

Shows how to open a file containing a table of Student grades and populate a C++ multi-dimensional array of students' scores and their average on each exam.
Actual working program included.