Solved

Write the Following Do-While Statement with a While Construct,and Maybe \quad

Question 27

Essay

Write the following do-while statement with a while construct,and maybe some extra code.
x = 10;
do
{
\quad cout << x << endl;
\quad x = x - 3;
} while ( x > 0 );

Correct Answer:

verifed

Verified

A simple minded change from do while to ...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions