petroleum company program



Hello

I tried a lot in this assignment, but every time an error occurs -_-"




Input:
Employee ID, Employee Designation ( Manager or Worker), Employee Salary ,
Hours worked as an overtime



Process:

Manager
The overtime payment is 6 Omani Rials per hour.
Overtime payment = No of overtime hours * 7
Monthly allowance is 20 Omani Rial.
Total salary = Actual Salary + Overtime payment + Monthly allowance


Worker
The overtime payment is 3 Omani Rials per hour.
Overtime payment = No of overtime hours * 4
Monthly allowance is 10 Omani Rial.
Gross salary = Actual Salary + Overtime payment + Monthly allowance



Output:
Employee ID, Employee Designation, Employee Salary, Hours worked as an overtime, Gross Salary




\\\


any help plz ..
Last edited on
You are probably going to need to show some code before anyone is going to help you out. If you've tried "a lot" and got some errors, post what you wrote and we can help you from there.

Topic archived. No new replies allowed.