SegundoApp - int s = teclado.nextInt i s1 = new Segundo(n s...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import*; import java.util.*; i public class SegundoApp{ p public static Segundo s1; public static Scanner teclado; p public static void main(String args[]){ p teclado = new Scanner(; t System.out.println("Introduzca su nombre:"); String n =; System.out.println("\nIntroduzca los segundos: ");
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: int s = teclado.nextInt(); i s1 = new Segundo(n, s); s System.out.println("\nHola "+s1.getNombre()+"."); System.out.println("El equivalente de "+s1.getSegundos()+ " segundos es " +s1.segundoMin()+ " minutos."); System.out.println("Que tengas buen día =)."); S } }...
View Full Document

This note was uploaded on 10/29/2009 for the course ITC TC-1002 taught by Professor X during the Spring '09 term at ITESM.

Ask a homework question - tutors are online