when hour = 45, rate =10 and extra hour = 5, then output should be 475.0 but I am getting output as 525.0 using below program. Please help me to locate out my mistake.

```
hour=float(input('pleae enter the working hours: '))
rate=float(input('pleae entr the rate: '))
exthr=float(hour-40)
if(hour > 40):
salary=((hour*rate) + (1.5*exthr*rate))
print(hour, rate, exthr, salary)
else:
salary=(hour*rate)
print (salary)
```