Problem with cin

This is a discussion on Problem with cin within the C++ Programming forums, part of the General Programming Boards category; Greetings,
Whenever I compile and run a program (as seen below), after I enter the input, the program stops, and ...

Problem with cin

Greetings,

Whenever I compile and run a program (as seen below), after I enter the input, the program stops, and doesn't run the last cout. Is the answer totally obvious, or is there something I've overlooked? It compiles all fine and dandy...