#include <stdio.h>

int main() 
{
    int num;
    printf("Enter the number:\n");
    scanf("%d",&num);

    if(num > 0)
    {
        printf("The given number is positive");
    }
    else if (num < 0)
    {
        printf("The given number is negative");
        
    }
    else
    {
        printf("The given number is equal to zero");
    }
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: