Conditional statements
> Decision-making statement that checks if a certain condition is true or false and then performs actions based on the result.
Eg: if health()<50
……goto healthZone
Eg: if bananas[1].rotten()
….say “Yuck”
else
….goto bananas[1]