Write a program to prompt the user for hours and rate per hour to compute gross pay.
Enter Hours: 47
Enter Rate: 3.25
Pay: 152.75
hours = int(input('Enter Hours: '))
rate = float(input('Enter Rate: '))
pay = hours * rate
print('Pay: ', pay)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment