Question: finish the code to display this output: This house is $ 2 0 0 0 0 0 . The change is $ - 1 0

finish the code to display this output: This house is $200000. The change is $-10000 since last month.
The estimated monthly mortgage is $850.0. import java.util.Scanner;
public class LabProgram {
public static void main(String[] args){
Scanner scnr = new Scanner(System.in);
int currentPrice;
int lastMonthsPrice;
double monthlyMortgage;
currentPrice = scnr.nextInt();
lastMonthsPrice = scnr.nextInt();
monthlyMortgage =(currentPrice *0.051)/12.0;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!