Even Odd Program
Even numbers are those which are divisible by 2. Numbers like 2,4,6,8,10, etc are even.
Odd numbers are those which are not divisible by 2. Numbers Like 1, 3, 5, 7, 9, 11, etc are odd.
Even Odd Program in PHP
A program to check 1233456 is odd or even is shown.
Even Odd Program using Form in PHP
By inserting value in a form we can check that inserted value is even or odd.
On entering the number 23456, following output appears.
On entering the number 285965, following output appears.