What would the code for a java application look like with


What would the code for a java application look like with these requirements

Prompts the user at the command line for one 3-character string.

Then (after the user inputs that first 3-character string) prompts the user for another 3-character string.

Then prints out the two input strings with a space between them.

Finally prints on a separate line the two input strings 'in reverse' (see example below) with a space between them.

So, for example, if the first string is 'usr' and the second string is 'bin', your program would output the following:

The two strings you entered are: usr bin.

The two strings in reverse are: nib rsu.

Note that the reversed SECOND string comes FIRST when printing the strings in reverse.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: What would the code for a java application look like with
Reference No:- TGS02361165

Now Priced at $15 (50% Discount)

Recommended (93%)

Rated (4.5/5)