Answers for "cors assignment 4.6 python"

0

cors assignment 4.6 python

def computepay(h,r):
    if h > 40:
        pa = 40 * r + (h-40)*1.5*r
    else:
        pa = h * r
    return pa

hrs = input("Enter Hours:")
h = float(hrs)
rate = input("Enter Rate")
r = float(rate)
p = computepay(h,r)

print("Pay",p)
Posted by: Guest on August-26-2020

Code answers related to "cors assignment 4.6 python"

Python Answers by Framework

Browse Popular Code Answers by Language