Write the following do-while statement with a while construct, and maybe some extra code.
```
x = 10;
do
{cout << x << endl;
x = x - 3;
} while ( x > 0 );
```
What will be an ideal response?
```
A simple minded change from do while to while and insertion of the
loop body gives this:
x = 10;
cout << x << endl;
x = x - 3;
while ( x > 0 )
{
cout << x << endl;
x = x - 3;
```
You might also like to view...
____________________ data means manipulating it in some way.
Fill in the blank(s) with the appropriate word(s).
To fit more lines on a report, you must ________ the height of the Detail section
Fill in the blank(s) with correct word
Footnotes are used if there are many references; endnotes, if there are only a few
Indicate whether the statement is true or false
The ________ War was the first modern war in which there was strong and widespread domestic opposition
a. Korean b. Persian Gulf c. Iraqi d. Vietnam