Question: Please use jGrasp in a java format. Thank you for the help. Write an application that prompts the user to enter a string (word, sentence,
Please use jGrasp in a java format. Thank you for the help. Write an application that prompts the user to enter a string (word, sentence, paragraph). The program should then count the vowels in the string and count the number of words in the string.
The vowels are a, e, i, o, u. Words are separated by any combination of spaces, periods, commas, semicolons, question marks, exclamation points, or dashes.
Example:
Back to the drawing board number of vowels: 7 number of words: 5
Save the class as StringCount.java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
