char question1[]="please enter the plain text: ";
char question2[]="Please enter any key value : ";
char plain[]="abcdefghijklmnopqrstuvwxyz";
char cipher[26];
char text[100];
char key[25];
cout<<"\nafter: ";
for(int p=0; key[p]!='\0'; p++)
cout<<key[p];
return 0;
}
////////////////////////////////////////////////////////
i can compare two arrays, but here in this problem i have to compare plain[] with key[], and then paste characters from array plain[] to array key[], without any repeatition. someone plz help in this regard. also explain alittle, the nested loop.