// This program demonstrates the GradedActivity class. #include #include "GradedActivity.h" using namespace std; int main() { double testScore; // To hold a test score // Create a GradedActivity object for the test. GradedActivity test; // Get a numeric test score from the user. cout << "Enter your numeric test score: "; cin >> testScore; // Store the numeric score in the test object. test.setScore(testScore); // Display the letter grade for the test. cout << "The grade for that test is " << test.getLetterGrade() << endl; return 0; }