The files provided in the code editor to the right containsyntax and/or logic errors. In each case, determine and fix theproblem, remove all syntax and coding errors, and run the programto ensure it works properly.
// Application looks up home price
// for different floor plans
// allows upper or lowercase data entry
import java.util.*;
public class DebugEight3
{
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
String entry;
char[] floorPlans = {‘A’,’B’,’C’,’a’,’b’,’c’}
int[] pricesInThousands = {145, 190, 235};
char plan;
int x, fp = 99;
String prompt = “Please select a floor plann” +
“Our floorPlanss are:n” + “A – Augusta, a ranchn” +
“B – Brittany, a split leveln” +
“C – Colonial,
OR
OR