// Rewrite Letters Repeated // rewrite_letters_repeated.c // // This program was written by YOUR-NAME-HERE (zXXXXXXX) // on INSERT-DATE-HERE #include #define MAX_LENGTH 1024 int main(void) { printf("Initial string: "); // TODO: Read the initial string printf("1st letter to be rewritten: "); // TODO: Read the first character to replace printf("1st rewriting rule: "); // TODO: Read the first rewriting rule (a string) printf("2nd letter to be rewritten: "); // TODO: Read the second character to replace printf("2nd rewriting rule: "); // TODO: Read the second rewriting rule (a string) printf("Number of times to apply the rewriting rules: "); // TODO: Get the number of times to rewrite the initial letters // TODO: Print the rewritten sequence of characters return 0; }