cout << "Entering function GetScore" << endl ; return 300 ;
cout << "Entering function RangeError" << endl ; return false ;
cout << "Entering function maximum" << endl ; return x ;
This program interactively reads two quiz scores and prints the maximum. Entering function GetScore Entering function RangeError Entering function GetScore Entering function RangeError The maximum score is: Entering function maximum 300.(In other words you should see two sets of outputs from the GetScore and RangeError stubs, and then the output from your main program that reports the value returned by function maximum, with the stub screen output of function maximum inserted in between.)
This program interactively reads two quiz scores and prints the maximum. Entering function GetScore Entering function RangeError You entered an invalid score. Scores must be in the range 0-600 (inclusive). Please try again.(In other words, you should see exactly one output from GetScore, one from RangeError, and then the error message about invalid data that you put in your main program earlier. If you see more than one output from GetScore and RangeError then you probably forgot to enclose between braces the statements in the main program after the first else. If so, you need to fix that.)
This program interactively reads two quiz scores and prints the maximum. Enter a quiz score: 250 Entering function RangeError Enter a quiz score: 340 Entering function RangeError The maximum score is: Entering function maximum 250.