Write a program to count how many times each distinct word appears in its input .

Printable View