Reverse it..... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Reverse it.....

INPUT: India is my country OUTPUT: country my is India

17th Dec 2017, 3:06 PM
David Anderson
1 Answer
+ 9
store every string in an array create a for loop that starts at the length of your array and ends at i>=0, don't forget that you have to decrement i (i--) @Anwar why do you think this is spam? [edit] @Anwar deleted his comment
17th Dec 2017, 3:32 PM
Kamil
Kamil - avatar