Need Help With VERY Simple Program -- Newbie!!!
I am not a Java programmer and as part of a job application I'm being asked to do a simple (not!) Java program. Can anyone help me with the following exercise? Thanks!
You are to create a console application that accepts exactly one command-line argument. If it doesn’t receive the argument, the application must display an error message and exit. The application must parse the text input and output the number of times each letter of the alphabet occurs in the text. Case sensitivity is not required.
For example, if the command-line argument is “baaad” the displayed result must be:
There are 3 A's
There are 1 B's
There are 0 C's
There are 1 D's
There are 0 E's
There are 0 F's