payroll of the company that have at least 5 employees

Please help me with my case study..:
Make a c++ program of the payroll of a company

input values :
a. Name of Employee
b. Position in the company
c. No. of hours worked
d. No. of overtime hours
e. rate per hour

formula:
basic pay = number of hours worked x rate per hour
ot pay = overtime hours x 150% of rate per hour
gross pay = basic pay + ot pay
tot deduc = tax + sss + med

tax can be computed based on the following table:
basic pay tax
10000 or less 1% of basic pay
10001-15000 2% of basic pay
15001-20000 3% of basic pay
20001-30000 4% of basic pay
30001 or more 5% of basic pay

sss = 10% of basic pay
med = 6% of basic pay

net pay= gross pay - total ded

*The payroll should have at least 5 employees in it.*




//any help will be greatly accepted.. please help me!
start by reading in the data and assigning to variables.
http://www.cplusplus.com/doc/tutorial/basic_io/

i already know that sir, but i'm confused on what command will i use?, should i have to use the switch statement?
you could use if..else's
Sir help me for my case study....that is also the problem....
Sir help me for my case study....that is also the problem....

I have no idea what that means sorry.

are you at a point where you've read in the input from the user?
Sir how about the flow chart
use Nested If Else and Loops.
i knew the answer already , thank you sir..
are you student of NEUST? the same case study tayo ehhh..
ryan09 please share ur case study. ..
help po ganito rin yung problem ko
Topic archived. No new replies allowed.