// Rewrite Letters // rewrite_letters.c // // This program was written by YOUR-NAME-HERE (zXXXXXXX) // on INSERT-DATE-HERE // // A program which reads in an array of initial letters, then rewrites each // occurrence of two chosen letters with corresponding sequences of letters. #include #define MAX_LENGTH 1024 int main(void) { printf("Initial letters: "); // TODO: Read the intiial sequence of characters into an array printf("1st letter to be rewritten: "); // TODO: Read the first character to replace printf("1st rewriting rule: "); // TODO: Read the replacement for the first character into an array printf("2nd letter to be rewritten: "); // TODO: Read the second character to replace printf("2nd rewriting rule: "); // TODO: Read the replacement for the second character into an array // TODO: Print the rewritten sequence of characters return 0; }