I am getting the error "Line 54, illegal start of expression". Line 54 is where my "for" starts. It was running ok earlier, now I can't get this error to go away? Not sure what happened? Any help
public static void main(String[] args) { double salary; double commission; double totalSales; double annualComp; double salesTarget; double incentive; double accel; double incentive1; double notAccel; double increment; //annualComp=commission+salary; Scanner keyboard = new Scanner(System.in); System.out.print("What was the salary of the salesperson this year?: "); salary=keyboard.nextDouble(); System.out.print("What were their total sales for the year?: "); totalSales=keyboard.nextDouble(); System.out.print("What is the sales target for the salesperson? "); salesTarget=keyboard.nextDouble(); accel=(totalSales*.07)+salary; notAccel=(totalSales*.05)+salary; if (totalSales >= (.8*salesTarget)) { System.out.println("Congrats! You qualify for 7% commission. Your total compensation for the year is " + accel); } else { System.out.println ("Sorry, you didn't qualify for the program. No commission was earned on sales. When you reach " + (salesTarget*.8)+ " you can try me again"); }; String answer; double projSales; double sales1; System.out.print("Would you like to see your potential earnings? "); System.out.print("Type 'Y' for Yes or 'N' for NO "); answer=keyboard.next(); sales1=((.5*totalSales)+totalSales); projSales=totalSales; commission = .05 * totalSales; increment= +5000; System.out.println("Total Sales Potential Commission"); System.out.println("--------------------------------"); System.out.println(projSales + "\t\t" + commission); for (totalSales=totalSales; totalSales < ((totalSales / .5)+totalSales); totalSales = += increment); { if (totalSales > salesTarget) { System.out.println(totalSales + "\t\t" + (totalSales*.07)); } else //(projSales < salesTarget) { System.out.println(totalSales + "\t\t" + (totalSales*.05)); }; } } }