Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started