Given the code below, write the do while loop to continue to enter values for the variable age, and print them out, as long as the value entered is greater than zero.
?
int age = 0;

What will be an ideal response?


cout > age;?do  //begin loop{     cout

Computer Science & Information Technology

You might also like to view...

The _____________ statement in a called method can be used to pass the value of an expression back to the calling method.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

By default, formulas use a relative cell reference

Indicate whether the statement is true or false

Computer Science & Information Technology

The box formed at the intersection of a row and a column is called a cell

Indicate whether the statement is true or false

Computer Science & Information Technology

In the Control Panel, an _____ displays next to tasks requiring administrator privileges.?

A. ?asterisk B. ?question mark C. ?exclamation point D. ?shield

Computer Science & Information Technology