APL/APL1.1/TP04/comparaisons.c

15 lines
332 B
C
Raw Normal View History

2021-09-17 10:43:20 +02:00
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int a = 7;
int b = 4;
printf("%d > %d : %d\n", a, b, a > b);
printf("%d < %d : %d\n", a, b, a < b);
printf("%d >= %d : %d\n", a, b, a >= b);
printf("%d <= %d : %d\n", a, b, a <= b);
printf("%d == %d : %d\n", a, b, a == b);
printf("%d != %d : %d\n", a, b, a != b);
}