Lesson 3 of 11 · 6 min

Algorithms with decisions

Algorithms can make decisions using 'if…then'. "If it is raining, then take an umbrella, else take sunglasses." Decisions let a program do different things in different situations.

❓ → ✅/❌

If a condition is true, then do something

Let’s try it! ✍️

Question 1 of

🎉

Great job!

You finished this lesson.

Next lesson → All lessons