What is the output from the following statements? a. if ( 60 <= 12 * 5) cout <<
ID: 3760950 • Letter: W
Question
What is the output from the following statements? a. if ( 60 <= 12 * 5) cout << "Hello"; cout << " There";
b. if ('a' > 'b' || 66 > static_cast<int>('A'))
cout << "#*#" << endl;
c. if (7 <= 7)
cout << 6 - 9 * 2 / 6 << endl;
d. if (7 < 8)
{
cout << "2 4 6 8" << endl;
cout << "1 3 5 7" << endl;
}
e. if (5 < 3)
cout << "*";
else if (7 == 8)
cout << "&";
else
cout << "$";
Explanation / Answer
a Hello There
b #*#
c 3
d 2 4 6 8
1 3 5 7
e $
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.