Last active
July 18, 2016 09:43
-
-
Save harobed/0e3a2b6420f2ea23c33ad03d9d6e09b3 to your computer and use it in GitHub Desktop.
tu veux que je te donne
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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