Question: Using Python 3. Calculate a tip on a restaurant bill. Read in a dollar amount and gratuity rate from the console (separated by a comma).

 Using Python 3. Calculate a tip on a restaurant bill. Read
Using Python

3. Calculate a tip on a restaurant bill. Read in a dollar amount and gratuity rate from the console (separated by a comma). Compute the gratuity and the total owed (bill + gratuity) and display the result. Round your answers to 2 decimal places. Here is a sample run: Enter the bill and gratuity rate: 15.69, 15 The gratuity is $2.35 and the total is $18.04

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