Forum: C++ Jun 18th, 2009 |
| Replies: 3 Views: 233 woops! I accidentilly left in the system("pause"). You can take that out if you want that was for me so I could see what the grand total was. |
Forum: C++ Jun 18th, 2009 |
| Replies: 3 Views: 233 I found the problem. Your grand total kept resetting to 0.00 because it was in the while loop. Here is a working copy of the code.
#include <iostream>
#include <iomanip>
using namespace std;... |