/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_is_negative.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/07/12 20:51:36 by adjoly #+# #+# */ /* Updated: 2023/07/13 11:47:47 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #include void ft_is_negative(int n) { if (n < 0) write(1, "N", 1); else write(1, "P", 1); }