CALLING ALL AMAZING PYTHON PROS! I would love some help with this assignment. The more I add to it, the more of a mess I'm making of it. I'll attach the work I've muddled so far, and post the instruction below: (I'm assuming the customer should be able to enter an item, and then the price of the item???) Modify your program to accommodate four different people at the table. Allow each person to order as many items as they wish. When each person is finished ordering, have them enter an exit code before going to the next patron. You do not need to repeat back the order at the end, but rather total the amount due for the entire party. Define constants for three different state tax rates: California (8%), Nevada (6.85%) and Arizona (5.6%) and have the program ask the patrons which state they are in. Apply the appropriate sales tax rate and give the final amount with an option to tip as before. If anyone can help me THANK YOU! THANK YOU! THANK YOU!
Types of Loop
Loops are the elements of programming in which a part of code is repeated a particular number of times. Loop executes the series of statements many times till the conditional statement becomes false.
Loops
Any task which is repeated more than one time is called a loop. Basically, loops can be divided into three types as while, do-while and for loop. There are so many programming languages like C, C++, JAVA, PYTHON, and many more where looping statements can be used for repetitive execution.
While Loop
Loop is a feature in the programming language. It helps us to execute a set of instructions regularly. The block of code executes until some conditions provided within that Loop are true.
CALLING ALL AMAZING PYTHON PROS! I would love some help with this assignment. The more I add to it, the more of a mess I'm making of it. I'll attach the work I've muddled so far, and post the instruction below:
(I'm assuming the customer should be able to enter an item, and then the price of the item???)
Modify your program to accommodate four different people at the table.
-
- Allow each person to order as many items as they wish. When each person is finished ordering, have them enter an exit code before going to the next patron.
- You do not need to repeat back the order at the end, but rather total the amount due for the entire party.
- Define constants for three different state tax rates: California (8%), Nevada (6.85%) and Arizona (5.6%) and have the program ask the patrons which state they are in.
- Apply the appropriate sales tax rate and give the final amount with an option to tip as before.
If anyone can help me THANK YOU! THANK YOU! THANK YOU!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 5 images