I can loop simply but it is hard for me to do a even and odd numbers only. i want it like these for example:
Enter your number: 20
2 4 6 8 10 12 14 16