Tuesday, July 28, 2009

Calculate payroll system using c++?

If we have given basic,hra,da values about salary (payroll)then calculate salary as per different designations like trainee Engg.,Jr.Developer,Sr.Developer,Project Manager,Manager in company.


Use c++ language.Use inheritance.


Use Switch ..Case or if .... else statements.

Calculate payroll system using c++?
In this application, we will calculate the overtime worked by an employee of a company. To do this, we will consider each week day with 8 regular hours. If an employee works more than 8 hours in one day, any time over that is considered overtime. In our payroll simulation, we will cover two weeks but each week has its separate calculation. After collecting the time for both weeks and performing the calculation, we will display the number of regular hours, the number of hours worked overtime, the amount pay for the regular hours, and the amount pay for overtime, if any. At the end, we will display the total net pay.


No comments:

Post a Comment