#include <stdio.h>

int main() 
{
    float a;
    scanf("%f",&a);
    if(a>0)
    {
    printf("a is a positive num");
    }
    else if(a<0)
    {
    printf("a is a negative num");
    }
    else
    {
     printf("a is zero");   
        }  
    return 0;
}

Embed on website

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