+ 2
code for implementing calculation of income tax using default agument
3 Respuestas
+ 1
how income tax are calculation plese try explain???
and after i give the answer
+ 1
#include <iostream.h>
#include<conio.h>
class income
{
int salary;
public:
void getdata()
{
cin>>salary;
cout<<salary;
int tax;
tax=salary*35%;
cout<<"your tax is..."<<tax;
}
};
int main()
{
income i1;
i1.getdata();
getch();
return 0;
}
when use the constructor to write the another programme......
try it.....
0
it sud b calculated for a single person...