+ 1
How to reverse the output for eg..1234 should become 4321??
Help needed in java
7 Respuestas
+ 9
You can always search the Code Playground for code samples.
https://code.sololearn.com/cP74X13xjP0f/?ref=app
https://code.sololearn.com/c0YEGELLm727/?ref=app
https://code.sololearn.com/cPPgfcwN4HiH/?ref=app
+ 7
in hatsy's answer , first code is basic approach for that ... u must see that
+ 6
Convert to string, reverse, then back to int
+ 4
thanx
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
0
you can use palidrome