1. There is a stationary business in your neighbourhood
which has 2 casual workers who work a given number
of hours each in a week are being paid at an hourly
rate. The company has a full-time staff, who has a
daily salary which accumulates into a monthly salary.
Workers may have company loans and other
deductions such as salary advances.
Write a small C++ program which does the following:
(a) Allows the user to enter the type of the worker;
(b) If the worker type is casual, the program should
ask the user to enter the hourly wage, the total
number of hours worked and all the deductions
to be made on the worker’s total wage;
(c) If the worker type is full-time, the program
should ask the user to enter the daily salary,
the number of days worked in the given month
and all the deductions to be made on the
worker’s salary in that current month;
(d) Compute the payroll for this small business.
This is not a homework service.
Since the instructions are clear, I assume it's C++ you don't have a clue about.
In that case, you better start learning it. http://www.cplusplus.com/doc/tutorial/