Question: good evening, This is my code and output, and there is a problem which is: when i enter the sentance, in reverce it reflect letters,

good evening, This is my code and output, and there is a problem which is: when i enter the sentance, in reverce it reflect letters, and I want it to reflect words, not letters.
So can you solve the problem? Because I couldn't
i want the after be like this:
After: back welcome hi
Note: the reverse method should using recursive algorithm
 good evening, This is my code and output, and there is
a problem which is: when i enter the sentance, in reverce it
reflect letters, and I want it to reflect words, not letters. So

Enter choice: 3 Enter A sentance : hi welcome back Added Before: hi welcome back After: kcab emoclew ih MENU : 1. Cipher 2. Merge 3. Singly IinkedList: 4. Exit Enter choice: 1 static void reverse(String str) 1

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!