Write a program in C++ which gives the user a list as Even number

Write a program in C++ which gives the user a list as :follows Even numbers -1 Odd numbers -2 Exit -3 The program should print even numbers or odd numbers from 0 to 20 according to the choice of the .user. If the user select 3, the program should exit.

Solved!

Final Output:

Get completed solution by your friendly study co-pilot.