Summary

Completed

Tip

See the Text and images tab for more details!

In this module, you added decision logic to your code.

You used Boolean expressions and comparison operators to evaluate conditions, if, else if, and else statements to control which code runs, and logical operators (&&, ||, !) to combine multiple conditions. You applied these skills to build a dice game and solve a subscription renewal challenge.

Get a free verified certification

Microsoft and freeCodeCamp.org offer a training and certification combo on foundational C#. By completing this Learn module, you're already started. Explore freeCodeCamp's Foundational C# with Microsoft certification here: https://aka.ms/csharp-certification.