18 lines
263 B
C
18 lines
263 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
int main(void) {
|
|
int x;
|
|
int y;
|
|
printf("donne x");
|
|
scanf("%d",&x);
|
|
printf("donne y");
|
|
scanf("%d",&y);
|
|
if (x<0 || y<0)
|
|
printf("c'est négatif");
|
|
if (x>0 && y>0)
|
|
printf("c'est positif");
|
|
return EXIT_SUCCESS;
|
|
}
|
|
|
|
|
|
|