Hello,
I need to write a java program that will take a string input from a user and output the frequency of each letter in the word. I could use long case statements but I think there might be a more efficient way of doing this.
When the user inputs a string, does each letter correspond to an integer value?
Thanks in advance for any guidance.
Puzzled.
I need to write a java program that will take a string input from a user and output the frequency of each letter in the word. I could use long case statements but I think there might be a more efficient way of doing this.
When the user inputs a string, does each letter correspond to an integer value?
Thanks in advance for any guidance.
Puzzled.