+ 2

code for implementing calculation of income tax using default agument

26th Sep 2016, 3:46 AM
Xombie
Xombie - avatar
3 ответов
+ 1
how income tax are calculation plese try explain??? and after i give the answer
4th Oct 2016, 5:53 PM
rahul lunagariya
rahul lunagariya - avatar
+ 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.....
7th Oct 2016, 6:48 PM
rahul lunagariya
rahul lunagariya - avatar
0
it sud b calculated for a single person...
4th Oct 2016, 11:58 PM
Xombie
Xombie - avatar