+ 1

How to reverse the output for eg..1234 should become 4321??

Help needed in java

3rd Sep 2017, 8:00 AM
Neil Bhowmik
Neil Bhowmik - avatar
7 Answers
+ 7
in hatsy's answer , first code is basic approach for that ... u must see that
3rd Sep 2017, 8:05 AM
Changed
Changed - avatar
+ 6
Convert to string, reverse, then back to int
3rd Sep 2017, 8:42 AM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar
+ 4
thanx
3rd Sep 2017, 8:04 AM
Neil Bhowmik
Neil Bhowmik - avatar
0
https://code.sololearn.com/cracv08oR5pz/?ref=app In this coding I used loop to create multiple outputs in a single line....pls look at this once...u will understand what I am saying
3rd Sep 2017, 8:50 AM
Neil Bhowmik
Neil Bhowmik - avatar
0
you can use palidrome
3rd Sep 2017, 11:54 PM
Hoshyar Aashish
Hoshyar Aashish - avatar
26th Sep 2017, 1:34 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar