I'm very new to C#
I had to write a program that inputs the number of hours worked by 5 people and outputs the amount each person gets paid.
Everyone gets paid $10 an hour, and if that person works over time I have to include their time and a half pay as well ($15).
I know how to get the regular pay, but how would I calculate the over time pay?
Thank you in advance.