Chapter 5 Quiz Starting Out With C++ 009

What is the format of the while loop in C++?

a.

while ( x >5)
do {
   y++;
}

b.

perform 
{
   y++;
} while (x >5)

c.

while (x >5)
{
   y++;
}

No comments:

Post a Comment