BUT2/DEV/DEV1.1/TP_ChainesDeCaracteres/test.c~
2023-10-23 13:23:36 +02:00

16 lines
326 B
C

#include <stdlib.h>
#include <stdio.h>
int main(void) {
char mdp[28];
char caractere;
int position;
printf("Saisissez votre mot de passe : ");
caractere=getchar();
for (position=0;)(position<=26);position++){
mdp[position]=caractere;
caractere=getchar();
}
printf("%s\n",mdp);
return EXIT_SUCCESS;
}