Booleans, Conditionals, Sensors, and Motion
In this reading, we will introduce how C handles the common need among programming languages to utilize boolean logic for establishing conditional behavior. We'll begin with a reading from your textbook, introduce some important capabilities of the Scribbler 2 robots, and follow-up with a reading that integrates all these elements.
- Textbook reading:
- King: Sections 7.1-7.5, pages 125-148, OR
- Kernighan & Ritchie, 1.1, 2.1-2.4, 2.7
- Scribbler 2 Sensors
- Scribbler 2 Motion
- Conditionals in C
