Question: c++ // Program HiScore reads and prints three test scores. // The largest value of the three is printed with an // appropriate message. //

c++
// Program HiScore reads and prints three test scores.
// The largest value of the three is printed with an
// appropriate message.
// Assumption: The scores are unique.
#include
using namespace std;
int main()
{
int test1Score;
int test2Score;
int test3Score;
cout
cin >> test1Score;
cout
cin >> test2Score;
cout
cin >> test3Score;
cout
cout
cout
cout
}
if (test1Score>test2Score)
{
if (test1Score>test3Score)
{
cout
}
else if (test2Score>test1Score)
{
if (test2Score>test3Score)
{
cout
}
}
else if (test3Score>test2Score)
{
if (test3Score>test1Score)
{
cout
}
}
return 0;
}
 c++ // Program HiScore reads and prints three test scores. //
Exercise 1: Design a test plan for program HiScore in Lesson 5-5. (Hint: There should be at least six test cases.) Reason for Test Case Input ValuesExpected Output Observed Output Exercise 2: Implement the test plan designed in Exercise 1. You may show the results in the chart in Exercise 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!