En este ejercicio demostraremos el resultado de mi estatura en letras.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package algo_sec_09;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
*
* @author HP
*/
public class ALGO_SEC_09 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) throws IOException {
// TODO code application logic here
int o;
BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
System.out.println("ingresar mi altura en numero es");
o=Integer.parseInt(in.readLine());//ojo
System.out.println("mi altura es: un metroseta y dos ");
}
}
No hay comentarios:
Publicar un comentario