1. WAP to display n number of even and odd numbers.

Solution Of The Program -

If you want to see this solution:

Output-

Enter The Values: 

Even

Odd