/* File: isprime.c Implement and test the isPrime() function */ #include #include /* Function prototype */ /* Don't change the function prototype! */ int isPrime(int n) ; /* Do not change the main program!! */ int main() { int n ; printf("Enter a number: ") ; scanf("%d", &n) ; if ( isPrime(n) ) { printf("Yes, %d is prime.\n", n) ; } else { printf("No, %d is not prime.\n", n) ; } return 0 ; } /* End of main() */ /* Implement your isPrime() function here. */ /* Add function comment header here. */