#include <ionstream>
usingnamespace std;
constdouble LOCAL_TAX_RATE = 0.08875;
constdouble CREDIT_PERC = 0.05;
int main()
{
int GROSS, NON_TAXABLE;
int TAXABLE;
double PRE_TAX, VENDOR_CREDIT, PEN_AND_INT, TAX_DUE;
cout << "Enter two integers, one for GROSS "
<< "one for NON_TAXABLE: ";
cin >> GROSS >> NON_TAXABLE;
cout << endl;
cout << "Enter the penalties and interest due at this time: ";
cin >> PEN_AND_INT;
cout << endl;
cout << "The numbers you entered are " << GROSS
<< " for GROSS SALES and " << NON_TAXABLE
<< " SALES EXEMPT FROM TAXES. "
<< "PENALTIES AND INTEREST " << PEN_AND_INT
<< endl;
cout << "The taxable Total of the Sales for this quarter is " TAXABLE
I wish I could upload a pic but this is what im suppose to get this with the code:
enter two integers , one for gross one for nontaxable: 10000 2000
enter the penalties and interest due at this time: 525
the numbers you entered are 10000 for gross sales and 2000 sales exempt from taxes
penalties and interest 525
the taxable total of the sales for this quarter is = 8000
the pre_tax for this quarter is = 718
the amount to be credited to vendor for this quarter is = 35.5
the final calculation of the sales taxes due for this quarter is = 1199.5