Program Code - Generate Even and Odd Numbers A program that generates the even and odd numbers with looping by entering the initial and target number (max number - 1000). What are Even and Odd Numbers? 1. Even number is a number that is divisible by 2 with remainder 0 OR a number that can be divided by 2. Examples of even numbers are 2, 18, 88, 200 2. Odd number is a number which not divisible by 2 OR a number that cannot be divided by 2 Examples of odd numbers are 1, 11, 53, 33 Here's the link and live demo of the program. https://codepen.io/mihsaky/pen/KKqbRRE
No comments yet