Question: Use an instantiable class in java that prompt the user to provide the number of paragraphs they would like to enter, and then prompt the

Use an instantiable class in java that prompt the user to provide the number of paragraphs they would like to enter, and then prompt the user to provide those paragraphs by reading one paragraph at a time from the keyboard, and store those paragraphs in an array of paragraphs. Next, call/invoke/use a method defined to compute the numbers according to the functionality below.

The method should traverse the array of paragraphs and calculate the total number of declarative sentences, interrogative sentences, and exclamatory sentences per paragraph.

The total number of sentences computed per paragraph should be stored in a 1 dimensional array of numbers. The method should return the computed array of numbers

. Finally, the application should display on the screen the numbers computed by the method.

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!