Conditional Statement:
- if today is Thursday I have test today
- If you will run fast, u will catch the bus
- if x is dividable by 2 then x is even number
- If the traffic signal is red, stop the car
if Statement:
The basic if statement enables you to choose to execute a single statement, or a block of statements, when a given condition is true.
0 Comments