Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Numero obtenerNumero(int cifras){
- int valor;
- valor = leerNumero(); // Leer numero
- if(!revisarIndex(valor, cifras)){ // Verificar que tiene las cifras estipuladas al principio
- // pedir de nuevo el numero
- }
- Numero numero = new Numero(valor);
- return numero;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement