Odd Even Number program in Java


a number which is divide by 2  and the remainder is zero it is even number other wise it is odd number .

second think a number unit place value is 0 2 4 6 8 which is even and  a number unit place value 1 3 5 7 9 which is odd number.


a java program to display odd-even number from 1 to 100

output of Odd-Even Numbers from 1 to 100

ODD-NUMBERS

1 3 5 7 9 …………….99

EVEN-NUMBERS

2 4 6 8 10 …………….100

(Visited 63 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *


CAPTCHA Image
Reload Image