#include #include main() { char input[20]; char temp[20]; int i = 0; int t = 0; printf("\nPlease enter no more than 20 characters of text:\n"); scanf("%s", input); //increase i while(*(input+i)) { i++; } //end increase i--; //reverse while(i >= 0) { temp[t] = input[i]; i--; t++; } printf("%s", temp, "\n"); //end reverse printf("\n"); t=0; //uppercase while(*(temp+t)) { *(temp+t) = toupper(*(temp+t)); t++; } printf("%s\n", temp); //end uppercase }