.

Thursday, May 2, 2013

Hahah Wala Lng

ITEC222 PROJECT MALLARI, Maria Airra DELA CRUZ, Janine OPENA, RJ BANSUELO, Anna Mae #include #include struct payroll{ int idnum; consume puddle[40]; char status; cuckold rate; spoil hours; waste overtime; }; main() { struct payroll emp[10]; ball up otrate, otpay, uncouth, coarse2, basicp; float selective service, wtax, netp, deduc; int pagibig, phealth, x; FILE *outf; char filename[20]; printf( write down the name of file: ); scanf(%s, &filename); outf=fopen(filename, w); fprintf(outf, ===========================================================); fprintf(outf, n ======================================================= ); fprintf(outf, nnttt behaveROLLnn); fprintf(outf, ======================================================= ); fprintf(outf, n===========================================================nnn); for(x=0;x=30000) conscription= earthy*0.15; else if(gross>=20000) draft=gross*0.1; else if(gross>=10000) sss=gross*0.05; else sss=gross*0.01; //Witholding Tax //CONDITION 1: GP=GP-SSS-PGIBIG-PHEALTH SAKA KUNIN WTAX gross2=gross-(sss+pagibig+phealth); toupper(emp[x].status); //CONDITION 2: item-by-item = 15%; maneuver of Family= 10%; Married = 5% if(emp[x].status==S) wtax=gross2*0.15; else if(emp[x].status==M) wtax=gross2*0.
Order your essay at Orderessay and get a 100% original and high-quality custom paper within the required time frame.
05; else wtax=gross2*0.1; deduc=wtax+pagibig+phealth+sss; netp=gross-deduc; fprintf(outf, nnEMPLOYEE:tt%dn, emp[x].idnum); fprintf(outf, strike: ttt%sn, emp[x].name); fprintf(outf, situation: tt%cn, emp[x].status); fprintf(outf, score PER hour: tt%.2fn, emp[x].rate); fprintf(outf, NO. OF HOURS WORKED: t%.1fn, emp[x].hours); fprintf(outf, OVERTIME HOURS: t%.1fn, emp[x].overtime); fprintf(outf, BASIC give birth: tt%.2fn, basicp); fprintf(outf, OVERTIME PAY: tt%.2fn, otpay); fprintf(outf, gross(a) PAY: tt%.2fn, gross); fprintf(outf, DEDUCTIONS: tt%.2fn, deduc); fprintf(outf, NET PAY: tt%.2fn, netp); } fclose(outf); system(pause); }If you want to postulate a full essay, recite it on our website: Orderessay

If you want to get a full information about our service, visit our page: How it works.

No comments:

Post a Comment