How to display tax from this code.

admccann (11)
cout << " Tax deducted:" << tax << endl;
cout << "Total Balance : " << totalBalance << endl;
cout << "Interest Rate : ";
if( accBalance <= 1000 )
cout << "2%" << endl;
if (accBalance > 1000)
cout << "5%" << endl;
cout <<"Interest Paid : " << interestPaid << endl;



return 0;
Last edited on
Registered users can post here. Sign in or register to post.