Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<stdlib.h>
- #include<string.h>
- int main()
- {
- char x[20] ;
- int i ;
- scanf("%s",&x);
- for(i=0;i<strlen(x);i++)
- {
- if(x[i] == 'A' )
- printf("%c",x[i]+24);
- else
- if(x[i] == 'B' )
- printf("%c",x[i]+24);
- else
- printf("%c",x[i]-2);
- }
- printf("\n");
- system("pause");
- return 0 ;
- }
Add Comment
Please, Sign In to add comment