
Write a program lc[1] which takes a file name as its sole argument and prints out how many lines the file contains. An example execution of this program might look as follows:
$ java lc lc.java 20 $
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.