Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python (.py file) Part 1 - Dynamic Tip Calculator Your program accepts the total amount listed on the bill, the tip percentage that you would

Python (.py file)

image text in transcribed

Part 1 - Dynamic Tip Calculator Your program accepts the total amount listed on the bill, the tip percentage that you would like to leave, how many individuals will be splitting the bill When the program finishes, it prints the total tip amount and how much the total bill will be (including tip). Finally, it shows how much each person should contribute to the bill (assume the bill will be split evenly and you are not sure how many individuals will show up for lunch). Sample input/output: Hello! I'm here to help you calculate your tip How much was your bill?56.50 How much tip would you like to leave? (enter a number for the percent): 17 How many individuals are splitting the bill? (Enter an integer value) :4 Thanks! You need to leave $9.61 as a tip. Your total bill will be $66.11. Each individual should pay $16.53 Comment your source code and describe your code to someone who may be viewing it for the first time. Also include your name, the date, your class section and the name of your program at the top of your file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Office 365 For Beginners 2022 8 In 1

Authors: James Holler

1st Edition

B0B2WRC1RX, 979-8833565759

More Books

Students also viewed these Databases questions