I NEED HELP [Java] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I NEED HELP [Java]

I started coding in java on Edhesive.com and I’m not that far In one of the first given activity’s is to use the scanner to ask for three names and then print them in reverse I did everything except I don’t know how to print it in reverse https://code.sololearn.com/cL6aoqjKCCZa/?ref=app https://code.sololearn.com/cv0PJFO9V6zC/?ref=app

5th Oct 2018, 9:07 PM
Kryptic Sniper
Kryptic Sniper - avatar
5 Answers
0
1) get 3 strings from input 2) store they in an array 3) print they in reversed order With what you have problems?
5th Oct 2018, 9:19 PM
KrOW
KrOW - avatar
5th Oct 2018, 9:17 PM
Roneel
Roneel - avatar
+ 1
for some odd reason i didnt think of storing them in seperate variables
5th Oct 2018, 9:26 PM
Kryptic Sniper
Kryptic Sniper - avatar
0
Kryptic Sniper Me also 😁
5th Oct 2018, 9:27 PM
KrOW
KrOW - avatar
0
input one string only split it with delimiter space and it get store in array print the array
17th Oct 2018, 6:54 AM
Aarav Raj
Aarav Raj - avatar