An element with mass of 210 grams decays by 8.3% per minute. How much of the element is remaining after 15 minutes, to the nearest 10th of a gram?
Answers
Answered by
2
Answer:
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)
Similar questions