Respuesta :
Answer:
Please find the complete code and the output in the attachement.
Explanation:
In the code, a class "LabProgram" is defined, and inside the main method two integer variable "currentPrice and lastMonthsPrice" is defined that uses the scanner class object is used for a user input value, and in the next step, two print method is declared that print the calculate of the integer variable.

The program is an illustration of output formats in Java
The statements that complete the program are:
- System.out.printf("This house is $%d. The change is $%d since last month.\n",currentPrice,(currentPrice - lastMonthsPrice));
- System.out.printf("The estimated monthly mortgage is $%.1f.\n",(currentPrice * 0.051)/12);
To format outputs in Java programming language, we make use of the printf statement, followed by the string literal that formats the required output
Take for instance:
To output a float value to 2 decimal place, we make use of the literal "%.2f"
Read more about Java programs at:
https://brainly.com/question/25458754