Computer Science, asked by nishantpratapa, 2 months ago

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. Don't worry about error checking or bad user data​

Answers

Answered by lavanya3602
2

a, b = 50,3.5

c = float(a) * float(b)

print(c)

Answered by shivani290
0

Answer:

day=("enter the number of days")

rate=("Enter the rate per day")

total=float(day)*float(rate)

Print("total rate:",total)

Explanation:

Similar questions