Question: Help me LabProgram.java Load default template. import java. util.Scanner; 2 3 public class LabProgram { public static void main (String args) { Scanner scor =
Help me

LabProgram.java Load default template. import java. util.Scanner; 2 3 public class LabProgram { public static void main (String args) { Scanner scor = new Scanner (System. in); int currentPrice; int lastMonthsPrice; currentPrice = scor.nextInt(); 10 11 lastMonthsPrice = scor. nextInt( ); 12 13 System. out. printIn( "This house is $" + currentPrice + ". The change is s" + (currentPrice System. out . printIn( "The estimated monthly mortage is $" + ((currentprice \\\\0.051)/ 12)); lastmonthsPrice) 14 15 16 Develop mode Submit mode Run your program as often as you'd like, before submitting for grading Below, type any needed input values in the first box. then click Run program and observe the program's output in the second box. Enter program input (optional) if your code requires input values, provide them here Your program expects input Run program Input (from above) LabProgram.java Your program) output (shown below) Program errors displayed here LabProgram. java : 12 : error: cannot find symbol System. out . printIn ("This house is $" + currenter (current Price - las symbol : variable lastmonthsPrice location: class LabProgram LabProgram . java : 13 : a:13: error: cannot find symbol System. out . printin ("The estimated monthly mor urrentprice 0. 051) / 12) ) ; symbol: variable currentprice location: class LabProgram 2 errors O W Ps Pr Au Search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
