Explore BrainMass

Explore BrainMass

    C++ Programming (Arrays and Strings)

    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!

    See attach file.

    © BrainMass Inc. brainmass.com December 24, 2021, 5: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 ...