31-Write a C program to display whether number is prime or not.
Program: 31
Write a C program to display whether number is prime or not.
Output:
Enter a number: 435 435 is not a prime number.
Write a C program to display whether number is prime or not.
Enter a number: 435 435 is not a prime number.