You now control program flow with conditions.
if statements execute code when conditions are true
else and else if handle alternative cases
switch statements handle multiple discrete values
Combine conditions with && and || for complex logic
Good job. Your programs can now make decisions. Next, you will learn loops to repeat code efficiently.