I want to make a c-program which enables the user to input an hourly rate, then an amount of hours worked,

the output needs to be what the person would earn, but for every hour after 40 hours the person earns 1.5 times the hourly rate per hour

so if someone was on 10 per hour, 40 hours would be 400, 41 hours would be 415

im really really stuck, thanks for any help