/* Proyecto2: venta de casas Alumno: Alán Moya Pérez Programa: casas.IO */ import java.io.*; public class casas.IO { public static void main(String[] args) throws IOExeption BufferedReader dataIn=new BufferedReader(new InputSteamReader(System.in)); // Declaración de Variables String NomCli; int Pre; int Eng; int Men; double TasInt; double TotCre; double TotMen; String strPre; String strEng; String strMen; String strTasInt; String str TotCre; // Entrada de datos System.out.println("Cuál es tu nombre?"); NomCli=dataIn.readLine(); System.out.println("precio de la casa?"); strPre=dataIn.readLine(); System.out.println("Enganche?"); strEng=dataIn.readLine(); System.out.println("Tasa de interes?"); strTasInt=dataIn.readLine(); System.out.println("Mensualidades?") strMen=dataIn.readLine(); // calcular TotCre=Intenger.parse Int(strPre)-Intenger.parseInt(strEng) TotMen=TotCre+(TotCre* Double.parseDouble(strTasInt));/Integer.parseInt(strMen);