Explore BrainMass
Share

Explore BrainMass

    C++ Program to assign grades

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

    At Enlightened State University, students receive grades of Honors, Pass, or Fail rather than the usual letter grade. The function grade returns H, P, F depending on whether avg merits a grade of Honors (at least 92), Pass (at least 65, but less than 92), or Fail (less than 65). Write C++ statements that define the function grade whose declaration is:
    chr grade (double avg);

    © BrainMass Inc. brainmass.com October 9, 2019, 9:01 pm ad1c9bdddf
    https://brainmass.com/computer-science/compiler-theory/c-plus-plus-program-assign-grades-170240

    Solution Summary

    This solution presents a C++ program in order to assign grades depending on the points scored, to students using a function.

    $2.19