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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!