1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| #include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
char text[100];
/**cle de chiffrement A=1=Q.......Z=26=M ***/
char tab0[]={'Q','W','E','R','T','Y','U','I','0','P','A',
'S','D','F','G','H','J','K','L','Z','X','C','V','B','N','M'};
/**********************************************/
/***cle de chiffrement A=1=Q.......Z=26=M *******/
char tab1[]={'K','X','V','M','C','N','O','P','H','Q','R',
'S','Z','Y','I','J','A','DK','L','E','G','W','B','U','Y','T'};
/**************************************************/
printf("Entrer votre texte \n");
scanf("%s", &text);
printf("le texte est:%s", text);
return 0;
} |
Partager