Hi all, I have written a basic program with 3 option using a switch statement, the 2nd option being a reverse string code using charAt() when you select option 2 and press enter it then switchs to case 2: which then asks for the string you wish to reverse, is there a way to be able to enter the option and the string in one input line.
Any help will be greatly appreciated.
Sorry forgot to mention that this program runs via eclispe the modified version will run via command prompt.
Cheers.