Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- void main(){
- char v[999];
- int n, i;
- scanf("%d", &n);
- scanf("%s", &v);
- for (i = 0; i < strlen(v); i++) {
- printf("%c", v[i] + n);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment