Question: You are prototyping more flexible tipping options for a mobile cash register app. Your customer wants the output screen to offer tipping options from 15%
You are prototyping more flexible tipping options for a mobile cash register app. Your customer wants the output screen to offer tipping options from 15% for mediochre service to 25% for great service. To nicely format a floating point percent value pct as a string you could use: formatted = "{:.0f}%".format(pct) To demo the on screen text, you write a program that prompts the user for the total bill and prints a table of tip options. 
Cash register Enter the price of an item: 23.99 Enter the price of an item: 3.00 Enter the price of an item: 1.43 Enter the price of an item: You entered 3 items totaling $28.42
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
