//key is -3 #include<stdio.h> int main() { char s[]="wklv phvvdjh lv qrw wrr kdug wr"; for(int j=0;j<26;j++) { for(int i =0;;i++) { char c=s[i]; if(c==' ') break; if(c==' ') { putchar(' ');continue;} else putchar(c-j) ; } printf(" || This key is %d. ",j); } }