+ 2
Reverse string Project
Output : D I J A S why is output not :DIJAS ? https://code.sololearn.com/ci9cL7aX18s2/?ref=app
3 Respostas
+ 2
i suggest to use System.out.print instead of System.out.println - then everything will be printed in the same line without linefeed after each loop-iteration
+ 2
Thanks ,, now working!
+ 1
Sajid Ali
println move cursor to next line and print value. So if you want to print in same line then use only print.