Each of the following program segments has errors. Find as many as you can.
A) cout <>
<>
int score1, score2, score3,
cin >> score1 >> score2 >> score3;
double average;
average = (score1 + score2 + score3) / 3.0;
if (average = 100);
perfectScore = true;// Set the flag variable
cout <><>
bool perfectScore;
if (perfectScore);
{
cout
cout <>
B) double num1, num2, quotient;
cin >> num1;
cin >> num2;
if (num2 == 0)
else
quotient = num1 / num2;
cout <><><>
C) int testScore;
cin >> testScore;
if (testScore
else if (testScore
D) double testScore;
switch (testScore)
{ case (testScore
break;
case (testScore
default: cout <>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here