Bob, you done fucked up.
Spending a few seconds to debug doesn't hurt anyone. While I'm posting here, I may as well be a little helpful about it; I've heard that you shouldn't always use "using namespace std;" but rather use the exact thing you're going to need, e.g. "using std::cin;". Just a tip, not that it really matters in a little program like that. Correct me if I'm wrong, I'm more familiar with Java conventions.