• Home
  • Blog
  • Intermediate Java Programming, computer science homework help

Intermediate Java Programming, computer science homework help

0 comments

Develop an application that will read an input text
string and count the number of A’s, B’s, C’s, etc. To do this, you will create a Letter class that will hold
the letter and number of occurrences and a LetterList class that can be a static array of Letter objects.
You will also implement an InvalidCharException that will be thrown if a non-letter (spaces, punctuation,
etc.) gets passed into the method that counts occurrences. Output must be in a bar graph format. You
may use a character such as an asterisk (*) for your bar graph.
Hints: To make things easier, you may convert the input string to all upper case or all lower case. When
processing your input string, you can ignore spaces, punctuation, etc. to avoid the exception being
thrown. An isChar() method would really help here. Consider the ASCII value of each letter as a way to
quickly locate the corresponding array index. ( The out come look has to be in a jFrame Form) Either a flowchart or pseudocode that clearly outlines your logic for the letter count and calculate
change processes. You do not need to pseudocode or flowchart constructors, simple getter and setter
methods.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}