This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In this exercise, you build a dice game that uses if, else if, else, and logical operators to score a roll.
Launch the exercise and follow the instructions.
What is a code block?
A .NET Class Library.
Lines of code that should be treated as a single unit.
A block of code that is blocked from being accessed.
What is a Boolean statement or expression?
A modulus expression.
An ordinal term.
Code that returns either true or false.
true
false
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?