I'm a student and i want learn something,i'm new at this programming stuff | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm a student and i want learn something,i'm new at this programming stuff

can any pro programmer in here teach me how to do a reverse display like when you input "how are you doing" and then it comes out backwards like"doing you are how" can someone teach me that?

6th Feb 2017, 10:42 AM
syazwandy radiatul
syazwandy radiatul - avatar
1 Answer
+ 9
In JavaScript it's document.write("how are you doing".split(" ").reverse().join(" "))
6th Feb 2017, 10:50 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar