Explore BrainMass

Explore BrainMass

    Write a Student Grade Calculcation Program in C

    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 4, 2021, 6:09 pm ad1c9bdddf
    https://brainmass.com/computer-science/arrays/write-a-student-grade-calculcation-program-in-c-31733

    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

    $2.49

    ADVERTISEMENT