Sunday, 21 April 2013

C Program to Print Pan Digital Prime Numbers

  An n-digit number is pan digital if it makes use of all the digits from 1 to n exactly once. For example, 2143 is a 4-digit pan digital number and is also prime. The C Program in this post prints the Pan digital prime numbers less than a given limit.

Figure Below Shows a Sample Output

No comments:

Post a Comment