Question: there's a logical error with this code. hope you can fix this. hope you can make this code more logical and add some explanation. Output

 there's a logical error with this code.

 hope you can  fix this.

 hope you can make this code more logical and add some explanation.



Output - FoodOrder (run) x run: Please enter your name: a Welcomea! What would be your order? ******* 1. Sandwich 2. Burger 3.

Output - FoodOrder (run) x run: Please enter your name: a Welcome a! What would be your order? ******* 1. Sandwich 2. Burger 3. Dessert **Menu ****** 4. Beverages *********** ****** Please enter the number that you want to order: 4 ****** 1. Coke 2. Pepsi 3. Sprite *Beverages Please enter the number of your desired drink:3 1. Regular 2. Medium 40 50 3. Large 70 Choose size please: 3 Enter Quantity:5 *******Your Order' 5 Chicken Your Total Bill is: 350 Thank you for ordering Would you like to order again? Y/N:y Please enter your name: Welcome ! What would be your order?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The logical error in the code lies in how it handles the or... View full answer

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 Programming Questions!