#include const char *input = "Character,Speech\n" "The multitude,The messiah! Show us the messiah!\n" "Brians mother,Now you listen here! He's not the messiah; " "he's a very naughty boy! Now go away!\n" "The multitude,Who are you?\n" "Brians mother,I'm his mother; that's who!\n" "The multitude,Behold his mother! Behold his mother!"; int main() { const char *s; printf("\n\n\n
"); for (s = input; *s; s++) { switch(*s) { case '\n': printf("
"); break; case ',': printf(""); break; case '<': printf("<"); break; case '>': printf(">"); break; case '&': printf("&"); break; default: putchar(*s); } } puts("
"); return 0; }