Question: What numbers will the following code display on the computer screen? int x = 16; do { cout < < x < < endl; x
What numbers will the following code display on the computer screen?
int x = 16;
do
{
cout << x << endl;
x -= 4;
} while (x > 10);
a. 16, 12, 8
b. 16, 12
c. 20, 16, 12, 8
d. 20, 16, 12
Step by Step Solution
3.33 Rating (165 Votes )
There are 3 Steps involved in it
b... View full answer
Get step-by-step solutions from verified subject matter experts
