code for implementing calculation of income tax using default agument | Sololearn: Learn to code for FREE!

+2

code for implementing calculation of income tax using default agument

c++

9/26/2016 3:46:42 AM

Xombie

3 Answers

New Answer

+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...