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:
![](https://gotit-pro.com/wp-content/uploads/2021/04/1000000000000000000000.png)