===========================================================================
CODING
#include<all.h>
void main()
{
clrscr();
textcolor(WHITE);
long int BS,HRA,CA,DA,TS,LIC,B1,B2,B3,HB,HR,LOT,MISC,FD,A1,P1,A2,P2,A3,P3;
float TA,TPA,TEI,TAX,CESS;
first();
second();
first();
gotoxy(1,1);
cprintf("ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸");
cprintf("³ INCOME TAX CALCULATOR ³");
cprintf("³ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
/* cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");*/
cprintf("ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;");
gotoxy(4,5);
cprintf("¯ Basic Salary");
gotoxy(4,7);
cprintf("¯ HRA");
gotoxy(4,9);
cprintf("¯ CA");
gotoxy(4,11);
cprintf("¯ DA");
gotoxy(59,5);
cprintf(" ");
gotoxy(61,5);
cscanf("%ld",&BS);
gotoxy(59,7);
cprintf(" ");
gotoxy(61,7);
cscanf("%ld",&HRA);
gotoxy(59,9);
cprintf(" ");
gotoxy(61,9);
cscanf("%ld",&CA);
gotoxy(59,11);
cprintf(" ");
gotoxy(61,11);
cscanf("%ld",&DA);
TS=12*(DA+CA+BS+HRA);
gotoxy(4,13);
cprintf("¯ Total Salary of Year");
gotoxy(59,13);
cprintf(" %ld",TS);
getch();
getch();
clrscr();
gotoxy(1,1);
cprintf("ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸");
cprintf("³ INCOME TAX CALCULATOR ³");
cprintf("³ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
/* cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");*/
cprintf("ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;");
gotoxy(4,5);
cprintf("¯ LIC");
gotoxy(4,7);
cprintf("¯ BOND 1.) Enter % Rebate and Amount");
gotoxy(4,9);
cprintf("¯ BOND 2.) Enter % Rebate and Amount");
gotoxy(4,11);
cprintf("¯ BOND 3.) Enter % Rebate and Amount");
gotoxy(4,13);
cprintf("¯ Health Bond");
gotoxy(59,5);
cprintf(" ");
gotoxy(61,5);
cscanf("%ld",&LIC);
gotoxy(61,5);
cprintf("%ld",LIC);
gotoxy(59,7);
cprintf(" ");
gotoxy(63,7);
cprintf("%");
gotoxy(61,7);
cscanf("%ld",&P1);
gotoxy(67,7);
cscanf("%ld",&A1);
gotoxy(67,7);
cprintf("%ld",A1);
gotoxy(61,7);
cprintf("%ld",P1);
gotoxy(59,9);
cprintf(" ");
gotoxy(63,9);
cprintf("%");
gotoxy(61,9);
cscanf("%ld",&P2);
gotoxy(67,9);
cscanf("%ld",&A2);
gotoxy(67,9);
cprintf("%ld",A2);
gotoxy(61,9);
cprintf("%ld",P2);
gotoxy(59,11);
cprintf(" ");
gotoxy(63,11);
cprintf("%");
gotoxy(61,11);
cscanf("%ld",&P3);
gotoxy(67,11);
cscanf("%ld",&A3);
gotoxy(67,11);
cprintf("%ld",A3);
gotoxy(61,11);
cprintf("%ld",P3);
gotoxy(59,13);
cprintf(" ");
gotoxy(61,13);
cscanf("%ld",&HB);
gotoxy(61,13);
cprintf("%ld",HB);
TA=(LIC-0.4*LIC)+(A1-((A1*P1)/100))+(A2-((P2*A2)/100))+(A3-((P3*A3)/100))+(HB-0.8*HB)+TS;
getch();
clrscr();
gotoxy(1,1);
cprintf("ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸");
cprintf("³ EXTRA INCOME ³");
cprintf("³ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
/* cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");*/
cprintf("ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;");
/* cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");*/
gotoxy(4,5);
cprintf("¯ Home Rent");
gotoxy(4,7);
cprintf("¯ Lottery");
gotoxy(4,9);
cprintf("¯ Misc.");
gotoxy(4,11);
cprintf("¯ FD");
gotoxy(59,5);
cprintf(" ");
gotoxy(61,5);
cscanf("%ld",&HR);
gotoxy(59,7);
cprintf(" ");
gotoxy(61,7);
cscanf("%ld",&LOT);
gotoxy(59,9);
cprintf(" ");
gotoxy(61,9);
cscanf("%ld",&MISC);
gotoxy(59,11);
cprintf(" ");
gotoxy(61,11);
cscanf("%ld",&FD);
TEI=HR+LOT+MISC+FD;
if(TA>=0 && TA<=250000)
{
TAX=0;
CESS=0;
}
else if(TA>250000 && TA<=500000)
{
TAX=0.05;
CESS=0.03;
}
else if(TA>500000 && TA<=1000000)
{
TAX=0.2;
CESS=0.04;
}
else if(TA>1000000)
{
TAX=0.3;
CESS=0.04;
}
else
{
TAX=0.5;
CESS=0.08;
}
TPA=TEI+TEI*TAX+CESS*TAX*TEI;
clrscr();
gotoxy(1,1);
textcolor(12);
cprintf("ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸");
cprintf("³ DETAILS ³");
cprintf("³ ÄÄÄÄÄÄÄÄÄÄÄ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³");
cprintf("³ TOTAL INCOME : ³");
cprintf("³ ³");
cprintf("³ REBATE GRANTED : ³");
cprintf("³ ³");
cprintf("³ TAXABLE INCOME : ³");
cprintf("³ ³");
cprintf("³ TAX : ³");
cprintf("³ ³");
cprintf("³ CESS : ³");
cprintf("³ ³");
cprintf("³ TOTAL PAYBLE AMOUNT : ³");
cprintf("³ ³");
cprintf("ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;");
textcolor(10+BLINK);
gotoxy(48,6);
cprintf("%.2f",TA);
gotoxy(48,8);
cprintf("%.2f",((0.4*LIC)+((A1*P1)/100)+((P2*A2)/100)+((P3*A3)/100)+(0.8*HB)));
gotoxy(48,10);
cprintf("%.2f",TEI);
gotoxy(48,12);
cprintf("%.2f",TAX*TEI);
gotoxy(48,14);
cprintf("%.2f",CESS*TAX*TEI);
gotoxy(48,16);
cprintf("%.2f",TPA);
textcolor(WHITE);
getch();
getch();
}
CODING
#include<all.h>
void main()
{
clrscr();
textcolor(WHITE);
long int BS,HRA,CA,DA,TS,LIC,B1,B2,B3,HB,HR,LOT,MISC,FD,A1,P1,A2,P2,A3,P3;
float TA,TPA,TEI,TAX,CESS;
first();
second();
first();
gotoxy(1,1);
cprintf("ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸");
cprintf("³ INCOME TAX CALCULATOR ³");
cprintf("³ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
/* cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");*/
cprintf("ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;");
gotoxy(4,5);
cprintf("¯ Basic Salary");
gotoxy(4,7);
cprintf("¯ HRA");
gotoxy(4,9);
cprintf("¯ CA");
gotoxy(4,11);
cprintf("¯ DA");
gotoxy(59,5);
cprintf(" ");
gotoxy(61,5);
cscanf("%ld",&BS);
gotoxy(59,7);
cprintf(" ");
gotoxy(61,7);
cscanf("%ld",&HRA);
gotoxy(59,9);
cprintf(" ");
gotoxy(61,9);
cscanf("%ld",&CA);
gotoxy(59,11);
cprintf(" ");
gotoxy(61,11);
cscanf("%ld",&DA);
TS=12*(DA+CA+BS+HRA);
gotoxy(4,13);
cprintf("¯ Total Salary of Year");
gotoxy(59,13);
cprintf(" %ld",TS);
getch();
getch();
clrscr();
gotoxy(1,1);
cprintf("ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸");
cprintf("³ INCOME TAX CALCULATOR ³");
cprintf("³ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
/* cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");*/
cprintf("ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;");
gotoxy(4,5);
cprintf("¯ LIC");
gotoxy(4,7);
cprintf("¯ BOND 1.) Enter % Rebate and Amount");
gotoxy(4,9);
cprintf("¯ BOND 2.) Enter % Rebate and Amount");
gotoxy(4,11);
cprintf("¯ BOND 3.) Enter % Rebate and Amount");
gotoxy(4,13);
cprintf("¯ Health Bond");
gotoxy(59,5);
cprintf(" ");
gotoxy(61,5);
cscanf("%ld",&LIC);
gotoxy(61,5);
cprintf("%ld",LIC);
gotoxy(59,7);
cprintf(" ");
gotoxy(63,7);
cprintf("%");
gotoxy(61,7);
cscanf("%ld",&P1);
gotoxy(67,7);
cscanf("%ld",&A1);
gotoxy(67,7);
cprintf("%ld",A1);
gotoxy(61,7);
cprintf("%ld",P1);
gotoxy(59,9);
cprintf(" ");
gotoxy(63,9);
cprintf("%");
gotoxy(61,9);
cscanf("%ld",&P2);
gotoxy(67,9);
cscanf("%ld",&A2);
gotoxy(67,9);
cprintf("%ld",A2);
gotoxy(61,9);
cprintf("%ld",P2);
gotoxy(59,11);
cprintf(" ");
gotoxy(63,11);
cprintf("%");
gotoxy(61,11);
cscanf("%ld",&P3);
gotoxy(67,11);
cscanf("%ld",&A3);
gotoxy(67,11);
cprintf("%ld",A3);
gotoxy(61,11);
cprintf("%ld",P3);
gotoxy(59,13);
cprintf(" ");
gotoxy(61,13);
cscanf("%ld",&HB);
gotoxy(61,13);
cprintf("%ld",HB);
TA=(LIC-0.4*LIC)+(A1-((A1*P1)/100))+(A2-((P2*A2)/100))+(A3-((P3*A3)/100))+(HB-0.8*HB)+TS;
getch();
clrscr();
gotoxy(1,1);
cprintf("ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸");
cprintf("³ EXTRA INCOME ³");
cprintf("³ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÑÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
/* cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");*/
cprintf("ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;");
/* cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³ ³");*/
gotoxy(4,5);
cprintf("¯ Home Rent");
gotoxy(4,7);
cprintf("¯ Lottery");
gotoxy(4,9);
cprintf("¯ Misc.");
gotoxy(4,11);
cprintf("¯ FD");
gotoxy(59,5);
cprintf(" ");
gotoxy(61,5);
cscanf("%ld",&HR);
gotoxy(59,7);
cprintf(" ");
gotoxy(61,7);
cscanf("%ld",&LOT);
gotoxy(59,9);
cprintf(" ");
gotoxy(61,9);
cscanf("%ld",&MISC);
gotoxy(59,11);
cprintf(" ");
gotoxy(61,11);
cscanf("%ld",&FD);
TEI=HR+LOT+MISC+FD;
if(TA>=0 && TA<=250000)
{
TAX=0;
CESS=0;
}
else if(TA>250000 && TA<=500000)
{
TAX=0.05;
CESS=0.03;
}
else if(TA>500000 && TA<=1000000)
{
TAX=0.2;
CESS=0.04;
}
else if(TA>1000000)
{
TAX=0.3;
CESS=0.04;
}
else
{
TAX=0.5;
CESS=0.08;
}
TPA=TEI+TEI*TAX+CESS*TAX*TEI;
clrscr();
gotoxy(1,1);
textcolor(12);
cprintf("ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸");
cprintf("³ DETAILS ³");
cprintf("³ ÄÄÄÄÄÄÄÄÄÄÄ ³");
cprintf("ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵");
cprintf("³ ³");
cprintf("³ TOTAL INCOME : ³");
cprintf("³ ³");
cprintf("³ REBATE GRANTED : ³");
cprintf("³ ³");
cprintf("³ TAXABLE INCOME : ³");
cprintf("³ ³");
cprintf("³ TAX : ³");
cprintf("³ ³");
cprintf("³ CESS : ³");
cprintf("³ ³");
cprintf("³ TOTAL PAYBLE AMOUNT : ³");
cprintf("³ ³");
cprintf("ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;");
textcolor(10+BLINK);
gotoxy(48,6);
cprintf("%.2f",TA);
gotoxy(48,8);
cprintf("%.2f",((0.4*LIC)+((A1*P1)/100)+((P2*A2)/100)+((P3*A3)/100)+(0.8*HB)));
gotoxy(48,10);
cprintf("%.2f",TEI);
gotoxy(48,12);
cprintf("%.2f",TAX*TEI);
gotoxy(48,14);
cprintf("%.2f",CESS*TAX*TEI);
gotoxy(48,16);
cprintf("%.2f",TPA);
textcolor(WHITE);
getch();
getch();
}
===========================================================================
No comments:
Post a Comment