The following code should output the even integers from 2 to 100:
```
unsigned int counter{2};
do {
cout << counter << endl;
counter += 2;
} While (counter < 100);
```
While should be while. Operator < should be <=
Computer Science & Information Technology
You might also like to view...
Sparklines are large charts stored on a separate worksheet that display a data trend of the adjacent worksheet
Indicate whether the statement is true or false
Computer Science & Information Technology
The ________ function runs calculations only on the data that is in the subset when a filter is applied
A) SUBTOTAL B) AVERAGE C) MAX D) SUM
Computer Science & Information Technology