Skip to main content

Problem Statement

Write a C program with a user-defined function to check whether a given number is prime or not.

Solution

Input

Output