Explore BrainMass
Share

Explore BrainMass

    function that prints the average for each student in class

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

    #define CLASS_SIZE
    struct student{
    chair*last-name:
    int studrent_id:
    char grade:
    };
    in another file we write
    #include"cl_info.h"
    int main (void)
    {
    struct student temp, class[CLASS_SIZE};
    .......
    assign values to members
    temp.grade="A"
    temp.last_name="Bushker";
    temp.student_id=590017;

    © BrainMass Inc. brainmass.com June 1, 2020, 4:24 pm ad1c9bdddf
    https://brainmass.com/computer-science/algorithms/function-prints-average-each-student-class-95256

    Solution Summary

    The expert writes function that prints the average for each student in class.

    $2.19

    ADVERTISEMENT