ITEC 120  
   
Program 3 - Counting characters in a file
Submit your program file in a folder called RU07 in your directory on neelix.

Write a java program which asks the user to enter the name of a text file. Read that file and report:



Sample run, for the file invite.txt:
Program displays:

Enter the name of the input file:

User enters: invite.txt
Program displays:

Character counts for the file invite.txt
----------------------------------------
    62 uppercase letters.
    691 lowercase letters
    27 digits
    20 punctuation characters
----------------------------------------
The total of the digits is 68

Notes: