#include #include #include /* for toupper */ int main() { char line[256]; int i; printf("Tell me a knock-knock joke.\n"); gets(line); printf("Who's there?\n"); gets(line); line[0] = toupper(line[0]); printf("%s who?\n", line); gets(line); for (i = 1; i <= 10; ++i) { printf("HAR! "); } printf("\n"); return EXIT_SUCCESS; }