Write a payroll program that pays time and a half for anything over 40 hours. This should have 3 functions in addition to main

The first function asks the user how many total hours were worked and the pay rate and returns this information to main. These values must be validated. Hours worked must be at least 8 and no more than 86. Pay rate cannot be less than $7.00 or more than $50.00.

The second function calculates the regular hours and overtime hours and returns this information to main. A person might work less than 40 hours so you must allow for that situation.

The third function calculates the regular pay, (regular hours times pay rate); overtime pay, (overtime hours times overtime pay rate) and the total pay and returns this information to mainMain will then display this information on the screen like the sample below. (Values will have to be passed and returned).

The output should look something like the following:

```
Payroll Information
Pay rate $10.00
Regular Hours 40
Overtime hours 20
Regular pay $400.00
Overtime pay $300.00
Total Pay $700.00
```

*Edited 3 Years Ago by pyTony*: Bad format removed