Caesar
Caesar
Caesar
#include<stdio.h>
#include<ctype.h>
int main()
int key;
scanf("%s", text);
ch = text[i];
// check for valid character
if (isalnum(ch)) {
// numbers
if (isdigit(ch)) {
ch = (ch - '0' + key) % 10 + '0';
}
}
// invalid character
else {
printf("Invalid Message");
}
1
}
return 0;
}