/* This program codes a message by shifting all characters you type one letter higher. For example, an A becomes a B. The function will terminate when you type a S. */ #include int main(void) { int done; char ch; done = 0; while (!done) { ch = getchar(); if (ch == 'S') { done = 1; continue; } putchar(ch+1); } printf("\n"); return 0; }