cin adds interactivity to your programs. It's an instance of the istream class and receives data from our input device, usually a keyboard.

Nice! We use the >> operator, which takes data from our input and stores it in the variable we are directing it to.

Psst: when we run this program, the question will be displayed and we can type a response and hit return. The response will be used in the next output.

Are you sure we that want to use the same operator for an input as for an output?