#include
#include
int main(void)
{
char arr[128],arr1[128];
int len,i;
printf("please input the arrayn");
gets(arr);
strcpy(arr1,arr);
len = strlen(arr);
for (i = 0; i < len; i++)
{
if (arr[i] >= 'a' && arr[i] < 'z')
{
arr[i] = 'a' + 'z' - arr[i];
}
else if (arr[i] >= 'A' && arr[i] < 'Z')
{
arr[i] = 'A' + 'Z' - arr[i];
}
else;
}
puts(arr1);
printf("n");
puts(arr);
return 1;
}