11 lines
261 B
C
11 lines
261 B
C
#include <stdio.h>
|
|
|
|
int main(void) {
|
|
char user_input;
|
|
printf("Bitte beliebigen buchstaben einfügen: ");
|
|
scanf("%c", &user_input);
|
|
char rot13 = (user_input - 97 + 13) % 26 + 97;
|
|
printf("Rot13(%c) = %c\n", user_input, rot13);
|
|
return 0;
|
|
}
|