Question: find java errors // ask for entree prices System.out.print(Enter price of entree #1: ) double entree1 = keyboard.nextDouble); system.out.print(Enter price of entree #2: ); integer

find java errors

// ask for entree prices System.out.print("Enter price of entree #1: ") double entree1 = keyboard.nextDouble); system.out.print("Enter price of entree #2: "); integer entree2 = keyboard.nextDouble(); // ask for dessert prices SyStem.out.print("Enter price of dessert #1 "); systemoutprintln("type 0 if o dessert ordered): "); duble dessrt1 = keyboard.nextDouble(); System.out.prinT("Enter price of dessert #2 "); System.Out.PrintLN("type 0 if /no dessert ordered): "); double desert2 = keyboard.nextDouble); // find totals for each person AppetizerEach + drink1 + entree1 + dessert1 = total1; // find totals for each person double total1AndTip15 = INT total1 + tipOne15 * 100/100; double total1AndTip20 = int {total1 + tipOne15} * 100/10.0; double total2AndTip15 = (int)(total1 + tipOne15); double total2AndTip20 = total2 + tipTwo20; { // find out tip amounts - print both 15% and 20% double tipOne15 = total1 x 15%; double tipOne20 = total1 * 20%; double tipTwo15 = total2 ^ 0.0015; double tipTwo20 = total2/.2; }

// print results for each person System.Out.Println('First total (with tip) is either ' $total1AndTip15 + " or $total2AndTip20); System.out.println("Second total (with tip) is either " $total1AndTip15 "+ or $total2AndTip20);

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!