Lessons
C++ · Storing Information · 7. Reading a Problem's Input
step 1 of 7
Count the values
Every problem has an Input format. First count the values in it: one box and one >> for each.
Mission
The input has THREE numbers. Read all three and print their sum.
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.