Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 65 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. public class TrabajoClase {
  2.     public static void main(String[] args) {
  3.         System.out.println(convertir("123"));
  4.     }
  5.     public static String convertir(String s) {
  6.         String num = "";
  7.         for (int i = s.length() - 1; i >= 0; i--) {
  8.             num += s.charAt(i);
  9.         }return num;
  10.        
  11.  
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top