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:
