You are on page 1of 2

import java.io.

*;

public class DatosPorTeclado

public static String nom;

public static float est;

public static int edad;

public static int tel;

public static void main (String[] args) throws IOException

BufferedReader dato = new BufferedReader (new InputStreamReader (System.in));

System.out.println("");

System.out.print ("Nombre completo:");

nom = dato.readLine ();

System.out.println("");

System.out.print ("Edad:");

edad = Integer.parseInt (dato.readLine ());

System.out.println("");

System.out.print ("Tu estatura en metros:");

est = Float.parseFloat (dato.readLine ()) ;

System.out.println("");

System.out.print ("Numero de Telefono:");

tel = Integer.parseInt (dato.readLine ());

System.out.println("");
System.out.println("");

System.out.println("");

System.out.println("Reporto: Zamora Galindo Martha Daniela 08040877");

You might also like