Wednesday, December 26, 2012

Pyroll

nd= no. of daysts =total salary no= no of OT hourspos= position tcom= impose compute valuate=tax tper=tax percentagech= woof txd= tax deduction #include #define g gotoxy #define p printf #define c cprintf #define s scanf #define t textcolor long choice; int pos,tax,np,ts; main() { int ch; clrscr(); p( embark employee id:); s(%d,&choice); switch(choice) { flake 10001: p(Name:Toledo, Ma. Jorelle M.\nPosition: Manager\n); manager(); payroll(); rat; case 10002: p(Name: Lovina, Kimberly Rae M.\nPosition: Supervisor\n); supervisor(); payroll(); flop; case 10003: p(Name: Paas, Mark Jayson\nPosition: Fulltime\n); fulltime(); payroll(); break; case 10004: p(Name: Reyes, Beret\nPosition: Part-time\n); parttime(); payroll(); break; default: p( shut-in ID number\ndo you want to try again?\n[Y/N]:); s(%s,&ch); if(ch==Y|ch==y) { main(); } else { exit(); } break; } dumbfoundch(); } manager() { int nd,no,tcom,tper,txd; p( tell per day: 1500\n); p(Rate per OT hour:240\n); p( precede no of days:\n); s(%d,&nd); p(Enter no of OT hours:\n); s(%d,&no); pos=m; ts=(nd*1500)+(no*240); if(ts>15000) { tcom=(ts-500); tper=(tcom*.
Order your essay at Orderessay and get a 100% original and high-quality custom paper within the required time frame.
15); tax=(tper+500); txd=(tax+825); np=(ts-txd); } else { if(ts>=10001) { tcom=(ts-500); tper=(tcom*.10); tax=(tper+500); txd=(tax+825); np=(ts-txd); } else { if(ts>=1500) { tax=(ts*.05); txd=(tax+825); np=(ts-txd); } else { np=0; } } } } supervisor() { int nd,no,tcom,tper,txd; p(Rate per day: 800n); p(Rate per OT hour:120\n); p(Enter no of days:\n); s(%d,&nd); p(Enter no of OT hours:\n); s(%d,&no); pos=s; ts=(nd*800)+(no*120); tcom=(ts-500); tper=(tcom*.10); tax=(tper+500);... If you want to get a full essay, order it on our website: Orderessay

If you want to get a full essay, wisit our page: write my essay .

No comments:

Post a Comment