Explore BrainMass

Explore BrainMass

    C++BuilderX for compilation

    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!

    Write a program that asks students how many test they have taken so far in a course. The program should accept any number from 1 to 5, but reprompt the user if the entry is invalid. The user can then enter the appropriate number of test scores, which you store in an array. Pass the number of tests and the array of test scores to a function that averages the student's test scores and displays the average. The function should compute a correct average whether the student has taken one, two, three, four, or five tests.

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

    Solution Preview

    Dear Student,
    I have used C++BuilderX for compilation. It is free to download for educational ...

    Solution Summary

    C++BuilderX for compilation is applied.