Calculating totals within loopshmm I would just edit[code] cout << "Total:" << setw(6) << "$ " << saleTotal << setw(10) << "$ " << ...
Calculating totals within loopsI am not 100% sure but try to change profitTotal = 0 right below saleTotal += expsales; to profitTot...
This user does not accept Private Messages