Decisions

Introduction

Everyday, you’re faced with making decisions: what to eat, what to wear, etc.

Conditional statements perform different computations or actions depending on whether a boolean condition evaluates to True or False.

In real life, if it were raining, you might decide to take an umbrella.

Relational Operators and Boolean Expressions

  • A Relational Operator determines whether a specific relationship exists between two values.

  • A Boolean expression tests if the conditional statement is True or False.

Last updated