C program to find nth prime number in a given range

C program to find nth prime number in a given range


Input:

Enter the value of n to find nth prime:
5
Enter the range:
4 20

Output:

13

Implementation: