Question: Program Lunch Special Adv.Assignment DescriptionWrite up a program that asks the user for their name, the current day, and if they have a membership. It

Program Lunch Special Adv.Assignment DescriptionWrite up a program that asks the user for their name, the current day, and if they have a membership. It should then display the special of the day at a restaurant, along with the price.SpecialsDaySpecialPriceMondaySpaghetti$12.99TuesdayLasagna$15.99WednesdayMinestrone soup$8.99ThursdayPot pie$7.99FridayTacos$6.99Also, note that for Tuesday and Thursday, the special changes to the following, when the user's name is less than five characters.DaySpecialPriceTuesdayImpossible Burger$11.99ThursdayBeyond Burger$11.99NOTE: If the person has a membership, then prices are reduced by $2.00.Example of ExpectationsYou don't have to match the following output exactly as long as you fulfill all of the requirements. This is just an example.I will run the program like so:$ python main.pyPlease enter your name:I will then type my name in, and hit Enter.Please enter your name: StevenPlease enter the day of the week (Mon, Tue, Wed, Thu, Fri): I will then enter the day of the week, and hit Enter.Please enter the day of the week (Mon, Tue, Wed, Thu, Fri): TueDo you have a membership (y/N): I will then enter y for Yes, or n for No, and hit Enter. The special should then be printed out.Do you have a membership (y/N): yThe special for Tuesday is Lasagna for $13.99.Another Example$ python main.pyPlease enter your name: StevenPlease enter the day of the week (Mon, Tue, Wed, Thu, Fri): TueDo you have a membership (y/N): nThe special for Tuesday is Lasagna for $15.99.Requirements for credit (all must be satisfied):Header on every python/text file:Your nameDateCRN: 10230Class name: CIS 216: Python ProgrammingInclude total time estimate it took to complete the assignment (For example, "3 hours")Program works as described aboveDon't forget the membership price reductionPython Code:Your code style should match PEP 8, in general:snake_case for variables, functions, and methodsFilenames should also be in snake_case.py formatCamelCase for classesIndentation is with 4 spacesFunctions and classes must be documented with docstringsDo not have code like os.system('cls') as that only works on Windows and not everyone likes their terminal reset.Your program should only start when ran, not imported. See this tutorial by Ayush Priya for more info.# Instead of having:main()# you should have:if __name__=='__main__': main()Explain how designed:Flowchart of main part of program; ORParagraph of at least 1 sentence each, explaining what you did for each part of the Development Cycle:Design: How will you solve the problem?Develop: What did you actually do to solve the problem?Test: What did you test?Document: Explain your code for your future self and others.This can be a separate file, or a comment at the top of the fileUser Documentation:Paragraph for end-user on how to use programThis can be a separate file, or a comment at the top of the fileDo not plagiarizeYou may not copy code or text from other sources, you must write everything in your own wordsIf you are copying and pasting then it's probably plagiarismAdding a citation is not enough to prevent plagiarismAll paragraphs (if any) are at least 3 sentences

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