Help me in solving PPSC88 problem

My issue

The last challenge of the while loop.

Chef wants to write a code which checks if a given number is prime.

You are given an integer
N
N
You need to output ‘Yes’ or ‘No’ depending on whether the number is prime or not.
Sample 1:

My code

#include <stdio.h>

int main() {
    int n;
    scanf("%d", &n);


    return 0;
}

Learning course: Programming and Problem solving using C
Problem Link: https://www.codechef.com/learn/course/ciet-programming-c/CIETPC21/problems/PPSC88