Posted on 2000-03-15
Program calculates rate of pay, it get the hours and rate from user.
For any hours over 40 hours are paid at a rate of 1.5 times the normal hourly rate.
Calculate and display any overtime earnings - both basic, overtime and total earnings.
If there is no overtime then simply display basic earnings.
Tax is paid at 20% on amounts over the tax free allowance (which is 44).
Calculate and display the amount of tax due together with the net wages.