C program to find nth prime number

C program to find nth prime number


Input:

Enter the value of n to find nth prime:
19999

Output:

224729

Implementation: