True/False
Assume all variables are properly declared.The output of the following C++ code is 2 3 4 5.
n = 1;
while (n < 5)
{
n++;
cout << n << " ";
}
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Which executes first in a do...while loop?<br>A)
Q15: In a counter-controlled while loop, the loop
Q17: Suppose sum and num are int
Q17: The control variable in a flag-controlled while
Q19: What is the output of the
Q21: The _ loop has an exit condition
Q21: The _ statement is typically used for
Q23: The function srand takes as input a(n)_
Q25: A software _ is a piece of
Q36: Which of the following is a repetition