Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 }
}
else if (test3Score>test2Score)
{
if (test3Score>test1Score)
{
cout
}
}
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started