1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
42-1st-piscine/ended/C00/ex04/ft_is_negative.c
2023-08-06 20:12:38 +02:00

15 lines
141 B
C

#include <stdio.h>
#include <unistd.h>
void ft_is_negative(int n)
{
if (n < 0)
{
write(1, "N", 1);
}
else
{
write(1, "P", 1);
}
}