16 lines
326 B
C
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;
|
||
|
}
|