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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!