Ajout des fichiers des séances précédentes

This commit is contained in:
2023-09-12 14:25:11 +02:00
parent 42f71afb7a
commit 84006e98ee
24 changed files with 183 additions and 0 deletions

18
DEV1.1/TP03/extraction.c Normal file
View File

@@ -0,0 +1,18 @@
/* premier programme */
#include <stdlib.h>
#include <stdio.h>
int main(void) {
char c1,c2,c3,c4;
printf("Quelle est votre numéro de sécurité ?\n");
getchar();
getchar();
c1=getchar();
c2=getchar();
getchar();
c3=getchar();
c4=getchar();
printf("%c%c/%c%c\n",c3,c4,c1,c2);
return EXIT_SUCCESS;
}