Topic: Language Problem / Level: intermediate

Problem: Write a program to calculate the total number of words in a file.

Run the code to see the output here...