/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_is_negative.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/12/01 19:42:52 by fgras-ca #+# #+# */ /* Updated: 2022/12/02 11:57:31 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #include void ft_is_negative(int n) { if (n < 0) { write(1, "N", 1); } else { write(1, "P", 1); } }