#include <unistd.h>

void ft_is_negative(int n)
{
    if (n < 0)
    {
        write(1, "N", 1);
    }
    if (n >=0)
    {
        write(1, "P", 1);
        return ;
    }
}

int main()
{
    ft_is_negative(0);
}

Embed on website

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