Welcome to payroll system


Write a program to print the payroll report. The staffs are paid based on the working hours per week, plus a commission. The charges are as follows:

• Basic pay is calculated based on the working hours per week. The pay rate is fixed at RM80 per hour. 
• A commission is 5% of the basic pay.

Calculate the basic pay; then add in the commission to give the gross pay and display the gross pay amount. Used the defined constant for all of your constants.


Sample output is shown below:

WELCOME TO PAYROLL SYSTEM

Hours worked per week : 6
Basic Pay : RM480.00
Commission : RM 24.00
Gross Pay : RM504.00 

Request for Solution File

Ask an Expert for Answer!!
Essay Writing: Welcome to payroll system
Reference No:- TGS073071

Expected delivery within 24 Hours