Question: C++ only Exercise #2: Design and implement a programming (name it Evenodd) that uses a while loop to determine and print out all even numbers
Exercise #2: Design and implement a programming (name it Evenodd) that uses a while loop to determine and print out all even numbers between 50 and 100 on a single line, separated by commas. Then another while loop in the same program to print out all odd numbers between 50 and 100 on a new line, separated by commas. Document your code and properly label the outputs as shown below. Even numbers between 50 and 100: 50, 52, 54, 56, 58, 60, 62, 64, ... Odd numbers between 50 and 100: 51, 53, 55, 57, 59, 61, 63, 65
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
