Preview:
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 + ".");

   }
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter