Conditional Remix & Share Permitted
CC BY-NC-SA
This lesson demonstrates how conditionals can be used to tailor a program to specific information. We don’t always have all of the information we need when writing a program. Sometimes you will want to do something different in one situation than in another, even if you don't know what situation will be true when your code runs. That is where conditionals come in. Conditionals allow a computer to make a decision, based on the information that is true any time your code is run.
- Subject:
- Coding
- Computer & Digital Technologies
- Computer Science
- Education
- Educational Technology
- Math
- Science
- Material Type:
- Activity/Lab
- Lesson
- Provider:
- Code.org
- Provider Set:
- CS Fundamentals 2019-2122
- Date Added:
- 10/11/2019