Explore BrainMass

Explore BrainMass

    Write a Student Grade Calculcation Program in C

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    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 December 24, 2021, 5:09 pm ad1c9bdddf

    Solution Summary

    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 prompted from the user.
    Attached Source code shows clearly how it is done.
    Example of using:
    a) Multi-dimensional arrays
    b) Using Table data to fill arrays
    c) Using enumerated types