Lessons
C++ · Making Decisions · 12. Combining Conditions

step 1 of 7

Both must be true

&& means AND. I let you in only if BOTH sides are true. One false side, and the door stays shut.

Mission

Change one thing so I let you in.

PIP·1
main.cppyour code
1
2
3
4
5
6
7
8
9
10
11
12
13
← press me!
readyscreen

Press RUN to see what this program does.

Do the mission and Next turns green.

Combining Conditions