Question: Please help in Java, I continue to get this error message 1.31 LAB: Pizza party Given the number of people attending a pizza party, output

Please help in Java, I continue to get this error message

Please help in Java, I continue to get this error message 1.31

LAB: Pizza party Given the number of people attending a pizza party,

1.31 LAB: Pizza party Given the number of people attending a pizza party, output the number of needed pizzas and total cost. For the oalculaticn beople eat 2 slices on average and each pizza has 12 slices and costs $14.95. butput each floating-point value with two digits after the decimal point which can be achieved as follows: System.out.printf("cost: $%.2fn, cost); Ex fithe input is: 4 Pizzas: 1 Cost: \$14.95 Hint: Use the ceil0 method to round up the number of pizzas so that enough pizzas are ordered. LabProgram.java Load defau Run your program as often as you'd like, before suboniting input values in the first box, then click Run program and second box Labexogram. java: 8: exxox: cannot find eymbol int numpeople = input. nextint (); symbol: variable input location: class LabProgram LabProgram.java:15: error: cannot find symbol input. close (); symbol: variable input location: class LabProgram 2 errors

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!