Question: Please answer it Write a C program that reads one integer from stdin and uses a function to determine if it is prime or not.
Write a C program that reads one integer from stdin and uses a function to determine if it is prime or not. Output to stdout, with a new line at the end of your output. Output if prime: prime Output if not prime: not prime
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
