Explore BrainMass

Explore BrainMass

    C++ Programming (Arrays and Strings)

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

    See attach file.

    © BrainMass Inc. brainmass.com March 4, 2021, 6:11 pm ad1c9bdddf

    Solution Preview

    Blank or no answers are marked as 'N' instead of empty character. The input file Answers.txt is given, please try the program.

    using namespace std;

    int CalculatePoints( char Correctans, char ans);
    int CalculatePercentage( double sumpoints);
    int CalculateGrade( double score);

    void main()
    string stuID;
    char Canswer[20];
    char Correctanswer[20];
    char answer[20];
    double pts;
    char ...