Ajout des fichiers des séances précédentes
This commit is contained in:
16
DEV1.1/TP01/reponses .c
Normal file
16
DEV1.1/TP01/reponses .c
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
printf("%d\n", 100/6);
|
||||
printf("%d\n", 100%6);
|
||||
printf("%d\n", 0x1A*015);
|
||||
printf("%d\n", -3/5);
|
||||
printf("%d\n", -31/5);
|
||||
printf("%d\n", -31%5);
|
||||
printf("%d\n", 100*(3/5));
|
||||
printf("%d\n", 100*3/5);
|
||||
printf("%d\n", 2-3-5);
|
||||
printf("%d\n", 2-(3-5));
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Reference in New Issue
Block a user