A program declares an int variable named evenNum and initializes it to 2. Write the C++ code

Question:

A program declares an int variable named evenNum and initializes it to 2. Write the C++ code to display the even integers 2, 4, 6, 8, and 10 on separate lines on the computer screen. Use the do while statement.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: