Line Count Programming Challenge

Line Count Challenge

Here's a simple help free challenge to get you started: write a program that takes a file as an argument and counts the total number of lines. Lines are defined as ending with a newline character. Program usage should be

count filename.txt
and the output should be the line count.



View Solution