# Write a program to prompt the user for days and rate per day to compute total pay. Use 50 days and a rate of 3.5 per day to test the program. Total pay is equal to (days* Rate per day). You should use input to read a string and float() to convert the string to a number.

Write a program to prompt the user for days and rate per day to compute total pay. Use 50 days and a rate of 3.5 per day to test the program. Total pay is equal to (days* Rate per day). You should use input to read a string and float() to convert the string to a number.

Select the correct answer from above options

by (1.7m points)

Explanation:

hrs = input(“Enter Hours:”)

hrs = input(“Enter Hours:”)h = float(hrs)

hrs = input(“Enter Hours:”)h = float(hrs)xx = input(“Enter the Rate:”)

hrs = input(“Enter Hours:”)h = float(hrs)xx = input(“Enter the Rate:”)x = float(xx)

hrs = input(“Enter Hours:”)h = float(hrs)xx = input(“Enter the Rate:”)x = float(xx)if h <= 40:

hrs = input(“Enter Hours:”)h = float(hrs)xx = input(“Enter the Rate:”)x = float(xx)if h <= 40: print( h * x)

hrs = input(“Enter Hours:”)h = float(hrs)xx = input(“Enter the Rate:”)x = float(xx)if h <= 40: print( h * x)elif h > 40:

hrs = input(“Enter Hours:”)h = float(hrs)xx = input(“Enter the Rate:”)x = float(xx)if h <= 40: print( h * x)elif h > 40: print(40* x + (h-40)*1.5*x)