Delete ft_is_negative.c
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_is_negative.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/03/04 10:08:57 by lclerel- #+# #+# */
|
||||
/* Updated: 2026/03/04 16:11:32 by lclerel- ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
void ft_is_negative(int n)
|
||||
{
|
||||
char c;
|
||||
|
||||
if (n >= 0)
|
||||
{
|
||||
c = 'P';
|
||||
}
|
||||
else
|
||||
{
|
||||
c = 'N';
|
||||
}
|
||||
write(1, &c, 1);
|
||||
}
|
||||
Reference in New Issue
Block a user