Title: Layout 4
Course: CPS 120: Introduction to Computer Science ~ Master (Aug/2015) OLD > Section: Learning Units

✓ Layout 4 – test whether or not to execute one of several blocks

if (<condition>)
{
<block>
}
else if (<condition>)
{
<block>
}

The italicized part in orange can be repeated as many times as is needed.

Explore Python Decision Making with this tutorial page.