Solved by Expert Tutors
Solved by Expert Tutors
Question

HI, I'm struggling with understanding coding in Python for my intro to computer science class. The way to structure it and actually create the code is just not clicking, I'm having trouble with this problem in particular. Any help would be appreciated.IMG_20190201_225423.jpg

IMG_20190201_225423.jpg
Pearl's Pancake Pad is a growing restaurant business , and they'd like to upgrade their
existing pen-and-paper system for tracking tickets to a digital point of sale system . They
are asking you to design and build that point of sale program for them .
The point of sale program must :"
Allow the waitstaff to input the table number , and the number of diners at this
table . Each table can seat up to 4 diners .
For each diner ,
O
Display a menu of at least 7 common breakfast items , including types of
drinks and entrees , with prices displayed . The menu is small , but the quality is
high !
O
Allow the waitstaff to enter the items the diner has ordered . Each diner may
order as many items as they want .
After all diners at this table have ordered , display the before tax total and total
with tax for each individual diner ( sales tax is 8% ) . Also , display the total with tax
for the whole table , and suggested tip amounts for 10% , 15% , 20% and 25 %
service qualities .
After a table is complete , the program should restart at the beginning , and
continue until the manager selects quit . Before the program exits , it should report
the total amount of money that should be in the register ( ticket totals + tax for the
entire day )
Design Details
Below , you are given some problem analysis and design details . You may find these
helpful , and you are free to base your implementation on these details . Note that these
details may not be complete . Feel free to add to or make changes to any of these
details .
Problem Definition
1 . Problem Description :"
Design and write a program that will allow a waitperson to take orders for each table ,
and calculate and display the per-person total , per-table total , recommended tip
amounts , and overall daily total .
2 . List of Program Inputs :"
O
Table number
Number of diners at table
Menu item ordered by a diner
3 . List of Program Outputs
O
Menu of food items
0.
Before tax total for a diner

Step-by-step answer

gue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem

, consectetur adipiscing elit. Nam lacinia pu

ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congu

acinia pulvi

s a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae od

, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor ne

sus ante, dapibus a molestie co

trices ac magna. Fu

et, consectetur adipisc

gue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectet

ctum vitae odi

sus ante, dapibu

usce dui lectus,

sum dolor sit am

ipsum dolor sit amet, co

fficitur laoreet. Nam risu

ac, dictum vitae odio. Donec aliquet.

trices ac magna. Fusce dui lectus, congue vel

o. Donec aliquet. Lorem ipsum dolor sit amet, cons

ec facilisis. Pel

facilisis. Pellentesque

Fusce dui lectus, congue vel laoreet ac, dictum vitae odio.

Subscribe to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Let our 24/7 Python Programming tutors help you get unstuck! Ask your first question.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes