Coding Challenge: https://codingchallenges.fyi/challenges/challenge-wc/
The functional requirements for wc are concisely described by it’s man page - give it a go in your local terminal now:
man wcwc -c test.txtwc -l test.txtwc -w test.txtwc -m test.txtjavac WC.javajava WC -c test.txtjava WC -l test.txtjava WC -w test.txtjava WC -m test.txtjava WC test.txtjava WC -cjava WC -ljava WC -wjava WC -mjava WC