Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1.     public Numero obtenerNumero(int cifras){
  2.        
  3.         int valor;
  4.         valor = leerNumero();       // Leer numero
  5.         if(!revisarIndex(valor, cifras)){   // Verificar que tiene las cifras estipuladas al principio
  6.             // pedir de nuevo el numero
  7.         }
  8.        
  9.         Numero numero = new Numero(valor);
  10.        
  11.         return numero;
  12.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement