how do I fix this? I am getting an incompatibility error at the if (busUtility.......) spot. Works with just (busUtility = 1)
String busUtility;
double carPrice;
int percFrom;
int percTo;
int loanYears;
int selOption;
busUtility =JOptionPane.showInputDialog(null,"Claire Baird Business Utilities\n1. Car Loan Financing\n2. Company Account Information\n3. Payroll Computation\n0. Exit\nEnter Choice:");
carPrice = Double.parseDouble(JOptionPane.showInputDialog("Please enter price of car (00.00) <0 for Quick exit>: "));
percFrom = Integer.parseInt(JOptionPane.showInputDialog("Please enter interest rate (integer %) from: "));
percTo = Integer.parseInt(JOptionPane.showInputDialog("Please enter interest rate (integer %) to: "));
loanYears = Integer.parseInt(JOptionPane.showInputDialog("Please enter loan period, from 2 years to: "));