If/Else statement help

Hi, I’m stuck on this assignment, and could use some help to create this program in C programming.

Create a program that the user inputs an integer and using if/else statements prints out whether or not the integer is ==0.

Thanks

Here is the program,

# include <stdio.h>

int main()
{
    int num;
    
    printf("Enter an input: ");
    scanf("%d",&num);
    
    //checking whether it is 0 or not
    if(num==0)
        printf("Input is zero.");
    else
        printf("Input is not zero.");
}