Guest User

Untitled

a guest
Jul 11th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. private boolean funcion(int numero) {
  2. int modulo = Math.abs(numero % 10);
  3. numero = numero / 10;
  4. if (modulo > (numero % 10)) {
  5. return funcion(numero);
  6. }
  7. return (numero == 0) ? true : false;
  8. }
Add Comment
Please, Sign In to add comment