Question #173251

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


Expert's answer

hours = int(input('Enter Hours: '))

rate = float(input('Enter Rate: '))

pay = hours * rate

print('Pay: ', pay)


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS