SJSU/Udacity CS046

Lesson 5.1 - Decisions

  1. Introduction
  2. Introducing Molly
  3. Quiz: The If Statement
  4. One Thing or Nothing At All
  5. Quiz: Discounted Prices
  6. Quiz: Is This Discount the Same?
  7. Quiz: Relational Operators
  8. Quiz: Draw a Flag with Three Colors
  9. Quiz: Practice with Relational Operators
  10. Quiz: More Practice with Relational Operators
  11. Quiz: Cutest Kitten
  12. The Cutest Kitten
  13. Quiz: What Do You Think About This Code?

The Cutest Kitten

The code above return "the cutest kitten of all" doesn't actually do what the comment says. Never mind that—Sara is making a point about unreachable code.

Problem on this page?

Your name:

Your email address:

Problem description:

To protect against spam robots, please answer this simple math problem:
× =