Question: Write a program in java that will accept a sentence from a user input and does the following: 1. Write the sentence backwards. 2. Count

Write a program in java that will accept a sentence from a user input and does the following: 1. Write the sentence backwards. 2. Count the number of words in the sentence and display the answer. 3. Change any occurrences of the letter 'e' to the letter 'x'. **Make sure each of these tasks are in it's own method. ** Use a loop to ask the use for another sentence. If user enters 'stop', this will end the prog

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!