Question: Please help me with this program in PYTHON: Create a tip calculator 1. Print out a nice welcome banner! 2. The program should ask the
Please help me with this program in PYTHON: Create a tip calculator 1. Print out a nice welcome banner! 2. The program should ask the following: a. How many people? b. How much did it cost? c. If there are less 6 people, ask: How was the service? d. The values that the service can be are: terrible, poor, ok, good, great 3. If the number of people are greater than or equal to 6, the tip should always be 20%, regardless of service (service should not be asked for if there are greater than 6 people anyway) 4. Otherwise (less than six people), calculate the tip using the following table: * terrible = no tip (0%) * poor - 10% * ok - 15% * good - 20% * great - 25% * any other input - default to 20% and output a message saying that the default tip value will be used 5. Output the calculated tip. 6. Format the number calculated so that there are two decimal places and a dollar sign
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
