Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private boolean funcion(int numero) {
- int modulo = Math.abs(numero % 10);
- numero = numero / 10;
- if (modulo > (numero % 10)) {
- return funcion(numero);
- }
- return (numero == 0) ? true : false;
- }
Add Comment
Please, Sign In to add comment