/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_is_negative.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: lclerel- +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/03/04 10:08:57 by lclerel- #+# #+# */ /* Updated: 2026/03/04 13:06:23 by lclerel- ### ########.fr */ /* */ /* ************************************************************************** */ #include void ft_is_negative(int nb) { char c; if (nb >= 0) { c = 'P'; } else { c = 'N'; } write(1, &c, 1); }