today
Mon Jan 20 2025 21:30:05 GMT+0000 (Coordinated Universal Time)
Saved by
@shivamp
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int currentPrice;
int lastMonthsPrice;
currentPrice = scnr.nextInt();
lastMonthsPrice = scnr.nextInt();
System.out.println("This house is $" + currentPrice + ".");
System.out.println("The change is $" + priceChange + " since last month.");
System.out.println("The estimated monthly mortgage is $" + estimatedMortgage + ".");
}
}
content_copyCOPY
Comments