Question: Debugging Exercise 8-3 Instructions DebugEight3,java 1/ Application looks up home price 2 /I for different floor plans 3 // allows upper or lowercase data entr

 Debugging Exercise 8-3 Instructions DebugEight3,java 1/ Application looks up home price

Debugging Exercise 8-3 Instructions DebugEight3,java 1/ Application looks up home price 2 /I for different floor plans 3 // allows upper or lowercase data entr 4 import java.swing.* 5 public class DebugEight3 The files provided in the code editor to the right contain l syntax and/or logic errors. In each case, determine and fix the problem, remove all syntax and coding errors, and run the program to ensure it works properly 7 public static void main(String[] args) Grading Scanner input new Scanner(System.in); String entry; char[] floorPlans ['A' ,' B','C', 'a','b','c'); int[] pricesInThousands145, 190, 235]; char plan; int x, fp 99; String prompt- "Please select a floor plan " 10 Write your Java code in the area on the right. Use the Run button to compile and run the code. Clicking the Run Checks button will run pre-configured tests against your code to calculate a grade 12 14 + Once you are happy with your results, click the Submit button to record your score 16 17 18 19 20 21 Our floorPlanss are:In" "AAugusta, a ranch "+ B-Brittany, a split leveln + C Colonial, a two-storyn"+ Enter floorPlans letter" System.out.println (prompt); entry-input.next) plan-entry.charAt (1); for(x 0; x

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!