/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_is_negative.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: whaffman +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/04 14:16:23 by whaffman #+# #+# */ /* Updated: 2024/06/05 11:46:39 by whaffman ### ########.fr */ /* */ /* ************************************************************************** */ #include void ft_is_negative(int n) { if (n < 0) { write(1, "N", 1); } else { write(1, "P", 1); } } /* int main(void) { ft_is_negative(-3); ft_is_negative(2); return (0); } */