1. ## grand total

I'm trying to find the grand total from two totals inside a loop. I'm getting some crazy numbers. Any help would be great. Thanks.

Code:
```        installCost = yards * 5;
carpCost = yards * carpPrice;
totalCost = installCost + padCost + carpCost;

//Calculate Grand Totals
//yards = totalYards;
//  totalInstall = installCost;
//      totalCarp = carpCost;
//        grandTotal = totalCost;

totalYards += yards;
totalInstall += installCost;
totalCarp += carpCost;
grandTotal += totalCost;

//Display output
cout << "Room " << roomCount << " installation = \$" << installCost << endl;
cout << "Room " << roomCount << " Padding Cost = \$" << padCost << endl;
cout << "Room " << roomCount << " Carpet Cost = \$" << carpCost << endl;
cout << "Room " << roomCount << " Total Cost = \$" << totalCost << endl;

}

//Display Grand Totals
cout << "For " << rooms << " rooms: " << endl;
cout << "Total square yards required: " << totalYards << endl;
cout << "Total installation: \$" << totalInstall << endl;
cout << "Total carpeting: \$" << totalCarp << endl;
cout << "Grand Total: \$" << grandTotal << endl;```

2. Heres the beginning of the loop:

Code:
```  for (roomCount = 1; roomCount <= rooms; roomCount++)
{
cout << "Enter length for Room " << roomCount << " : ";
cin >> length;
cout << "Enter width for Room " << roomCount << " : ";
cin >> width;
cout << endl;
cout << "1.Good - \$3 per yard - [1-3 yr warrantee]" << endl;
cout << "2.Better - \$4 per yard - [3-5 yr warrantee]" << endl;
cout << "3.Best - \$5 per yard - [5-10 yr warrantee]" << endl;
cout << "4.Excellent - \$7 per yard - [10-20 yr warrantee]" << endl;

cout << "Enter number of padding choice <1-4>: ";

area = length * width;
yards = area / 3;

{
break;