Kuteshikimi Admin
Posts : 52 Join date : 2011-09-01 Age : 33 Location : Cavite City, Philippines
| Subject: Payroll System Thu Sep 15, 2011 11:01 am | |
| - Code:
-
#include<iostream.h> main() { int nwd,rpd,gp,sss,pagibig,ph,ca,cb,tax,td,np; cout<<"Enter Number of Working Days:"; cin>>nwd;
cout<<"Enter Rate per Day:"; cin>>rpd;
gp=nwd*rpd; cout<<"The Total Grosspay is:"<<gp;
cout<<"Enter SSS:"; cin>>sss; cout<<"Enter Pag-Ibig:"; cin>>pagibig; cout<<"Enter Phil-health:"; cin>>ph; cout<<"Enter Cash Advance:"; cin>>ca; cout<<"Enter Cash Bond:"; cin>>cb;
Tax=Gp*.10; cout<<"Tax is:"<<tax;
td=sss+pagibig+ph+ca+cb; cout<<"The Total Deduction is:"<<td;
np=gp-td; cout<<"The Netpay is:"<<np;
}
| |
|