Début condition

This commit is contained in:
2023-09-18 14:56:19 +02:00
parent af0f47be11
commit f92804ce8d
6 changed files with 60 additions and 0 deletions

24
DEV1.1/TP05/billevesee.c Normal file
View File

@@ -0,0 +1,24 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int x=3;
if (x=2) {
printf("x vaut 2\n");
} else {
printf("x est different de 2\n");
}
printf("%d\n", x);
if (x=0) {
printf("x vaut 0\n");
} else {
printf("x est different de 0\n");
}
printf("%d\n", x);
return EXIT_SUCCESS;
}