Please enable JavaScript to use CodeHS

APCSP20: AAP-2.H.3

CodeHS Lessons

The exam reference sheet provides IF(condition) { <first block of statements> } ELSE { <second block of statements> } in which the code in first block of statements is executed if the Boolean expression condition evaluates to true; otherwise, the code in second block of statements is executed.

Standard
1.11 If Statements
4.4 If Statements