c++ payroll help here please..

here's my code but stil incomplete coz i dont know how to continue d coding afte return 0.

#include<iostream.h>
int main()
{
char james[20];
int a,b,philhealth,bir,pagibig,salary,c,d,e;
int pay (int b);

cout<< "Please input your name:\n";
cin>>james;
cout<< "Please input your salary:\n";
cin>>salary;

cout<< "Please input no of days work:\n";
cin>>a;

b=(salary*a);
cout<<b;

return 0;
}

the next coding should result this way..

salary-3% SSS -5% BIR -6% Philhealth -2% pag ibig

deductions:
SSS 3%
BIR 5%
Philhealth 6%
Pag ibig 2%

Your account name is:
You salary per week is;
your salary per month is:
net monthly income is:
net annual income is:


please help me..our professor never taught us bout c++..we do our study on our own..thx for help guys..
total deduction
Topic archived. No new replies allowed.