Word Count

Created on June 10, 2024 by Julien Palard

Write a program that counts:

  • lines
  • words
  • bytes

from its input.

When done, the program should print the three numbers on a single like, like:

$ ./wc < README.md
119  545 3825

Look like my README.md file has 119 lines, 545 words, and weight 3825 bytes.

There's no corrections yet, hit the `Submit` button to send your code to the correction bot.
Keyboard shortcuts:
  • Ctrl-Enter: Send your code to the correction bot.
  • Escape: Get back to the instructions tab.
(Ctrl-Enter)