int main()
{
int sales = 0;
int totalSales = 0;
for (int store = 1, store < 3, store = store + 1)
{
cout << "First sales amount for store " << store
<< " (negative number to stop): ";
cin >> sales;
do
{
totalSales = totalSales + sales;
cout << "Next sales amount for store " << store
<< " (negative number to stop): ";
cin >> sales;
} while (sales >= 0)
cout << endl;
}
cout << "Total: $" << totalSales << endl;
return 0;
}