In C program
#include<stdio.h>
The first 11 prime integers are 2, 3, 5, 7, 11, 13, 17, 19, 23,29, and 31.
A positive integer between 1 and 1000 (inclusive), other thanthe first 11 prime integers, is prime if it is not divisible by 2,3, 5, 7, 11, 13, 17, 19, 23, 29, and 31.
Write a program that prompts the user to enter a positiveinteger between 1 and 1000 (inclusive) and that outputs whether thenumber is prime.
If the number is not prime, then output all the numbers, fromthe list of the first 11 prime integers, which divide thenumber.
Example Output:
Enter an integer between 1 and
PayPal Gateway not configured
PayPal Gateway not configured