Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  tax
Language: C/C++
Code:
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
float   tm  ,btam ,cgst,sgst, dummy;
clrscr();
cout<<" Enter taxed amount =  ";
cin>>tm ;
cout<<endl<< " Before tax amount is = ";
btam=tm/(1.18) ;
cout<<btam;
dummy=btam*0.09;
cgst= sgst=dummy;
cout<<endl<<" CGST = "<<cgst;
cout<<endl<<" SGST = "<<sgst;
getch();
}     
          
Comments: