Question: # Problem: Calculate plumber s bill. # Input: minutes worked # Input: True if urgent, False otherwise # Output: cost minutes = 6 1 urgent
# Problem: Calculate plumbers bill.
# Input: minutes worked
# Input: True if urgent, False otherwise
# Output: cost
minutes
urgent False
cost
hours
if minutes :
hours minutes
if minutes :
hours minutes
if urgent
cost hours
if not urgent:
cost hours
printcost
Describe the inputs of this program, including their admissible values.
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
