logo

Crowdly

What is displayed in the MessageBox window if the following code is executed? ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What is displayed in the MessageBox window if the following code is executed?

int grade = 72;

if (grade >=80)

{

MessageBox.Show("A");

}

else if (grade >=70)

{

MessageBox.Show("B");

}

else if (grade >=60)

{

MessageBox.Show("C");

}

else if (grade >=50)

{

MessageBox.Show("D");

}

else

{

MessageBox.Show("F");

}
More questions like this

Want instant access to all verified answers on elearn.waikato.ac.nz?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!