DEV/DEV1.1/TP02/extract.c
2022-09-14 18:00:01 +02:00

15 lines
320 B
C

#include <stdio.h>
#include <stdlib.h>
int main(void) {
char num;
printf("%s","Entrez votre numero de securite sociale: ");
num = getchar();
int annee1=getchar();
int annee2=getchar();
int mois1=getchar();
int mois2=getchar();
printf(" %c%c/%c%c \n",annee1,annee2,mois1,mois2);
return EXIT_SUCCESS;
}