Question: Question 51 Given the code below, which of the following loops will out, as long as the value entered is greater than zero. continue to

Question 51 Given the code below, which of the following loops will out, as long as the value entered is greater than zero. continue to accept values for the variable age, and print them int age0: 1. for (i = 0; > age; cout "The age entered was: "> age; //begin loop cout > age; ) while (age> 0) 3. cout age; while (age > age; 4. do //begin loop cout > age; ) while (age> 0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
