Lessons
C++ · Storing Information · 6. Reading Input
step 1 of 7
Fill a box
cin is the opposite of cout. It takes what is typed in and puts it in a box.
The arrows >> point INTO the box.
Mission
Make me print Next year: 14 using the box.
PIP·1
main.cppyour code
1
2
3
4
5
6
7
8
9
10
← press me!
Press RUN to see what this program does.