Skip to content

Instantly share code, notes, and snippets.

@harobed
Last active July 18, 2016 09:43
Show Gist options
  • Save harobed/0e3a2b6420f2ea23c33ad03d9d6e09b3 to your computer and use it in GitHub Desktop.
Save harobed/0e3a2b6420f2ea23c33ad03d9d6e09b3 to your computer and use it in GitHub Desktop.
tu veux que je te donne
#include <stdio.h>
void ft_is_negative(int n)
{
if (n < 0)
{
putchar('N');
}
else
{
putchar('P');
}
}
int main()
{
ft_is_negative(1);
ft_is_negative(2);
ft_is_negative(3);
return (0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment