Question: create java code Details Ask the user to enter a product description as a sentence. If the user enters end or then end the program.
Details Ask the user to enter a product description as a sentence. If the user enters "end" or then end the program. Otherwise, parse the sentence into its component words, and to the following the Check that the first word is capitalized and that the sentence ends with a period. If not display a message Check for any capitalized words in the sentence, other than the first word, and display those names - Check for any words in the sentence that end with a period, and display those as abbreviations - Check the words to see if any contain both an open parentheses and a close parentheses and it so, display the test between them the road Extra Credit: When the above checks are complete, ask the user for the next product description sentence
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
