Question: 1) Why use a while loop instead of a for loop ? 2) Why use a do while loop ? General answer. 3) What is

1) Why use a while loop instead of a for loop ?

2) Why use a do while loop ? General answer.

3) What is the syntax for the do while loop ?

4) Are there other types of loops in C++, besides for, while and do whiles ? If so, what are they ?

5) Why use a loop ? What are the alternatives ?

6) What is difference between pretest and posttest loops ?

7) Can you have two loop statements overlap, or must they be nested ?

8) What is an Infinite loop ?

9) Would your boss like to you to copy and paste statements or write them once and use in a loop ?

10) What is your favorite loop why ?

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!