Tuesday, April 29, 2008

Problem 2

Todays Problem.

Write a program to check if a number is a Prime Number.
Note: A prime number is a natural number > 1 which is divisible only by 1 and the number itself. This is what Wikipedia say about Prime Numbers.

No comments: