VB.NET Program to Check Type of a Number
-------------------------------------------------------
The application will check whether a given number is an
Odd, Even, Perfect or a Prime number.
Odd Number: A number that is not divisible by 2
examples: 1, 3, 5, 9
Even Number: A number that is divisible by 2
examples: 2, 4, 6, 8
Prime Number: A number that is only divisible by 1 or itself is called a Prime Number.
Examples: 2, 3, 5, 7, 11
Perfect Number: A number that is equal to the sum of its factors (less than itself) is
called a Perfect Number. Example 6 =: 1 + 2 + 3
28 = 1 + 2 + 4 + 7 + 14