Question: Find the Java error public Dinners (string [] args) { // associate a Scanner with the keyboard Scanner(System.in) = new keyboard Scanner(); // Explain the

Find the Java error

public Dinners (string [] args) { // associate a Scanner with the keyboard Scanner(System.in) = new keyboard Scanner(); // Explain the program to the user System.out.printLine"Wellcome! This prog will help you "; System.out.printLine("add up dinner check."; System.out.println(It will ask you for the prices of ); System.out.println(your dinneritems,); // Ask for today's date System.out.print["Enter today's month number: "]; int month = nextInteger(); System.out.print('Enter the number of today's day: '); int day = keyboard.nextdouble(); // since appetizer is for 2 people, find individual person's cost double appetizerEach = appetizer / 0.5; // ask user for the appetizer cost System.out.Print("Enter cost of appetizer (enter 0 if none): "); int appetizer := nextDoublet(); // print cost per person for appetizer System.out.println("Cost of appe\tizer per person = $ + appetizerEach"); // ask for drink prices System.out.print("Enter price of drink #1: "); drink1 = keybd.nextdouble(); System.out.print("Enter price of drink #2: ") drink1 = keybd.NextDouble();

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!