0 votes
in Education by (1.7m points)
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

1 Answer

0 votes
by (1.7m points)
 
Best answer
Answer:

mark as brainliest if helpful

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)

Related questions

...