Entrainement

This commit is contained in:
Simoes Lukas
2024-10-14 15:51:23 +02:00
parent f4b9936c0c
commit a379ee9e1f
5 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# include <stdio.h>
# include <stdlib.h>
int main(void) {
int resultats[5];
int i;
int suite_1[5] = {1, 2, 3, 4, 5};
int suite_2[5] = {2, 3, 4, 5, 6};
for (i = 0; i != 5; i++) {
printf("Jet n°%d : ", i+1);
scanf("%d", &resultats[i]);
getchar();
}
/* TO DO */
return EXIT_SUCCESS;
}