CS 101 Lecture 7 - Classes and Control Structures

Class Examples:

  1. Let's make a funny basketball program with a different ball.

    Click on FunnyBasketball to show the example.

  2. Let's draw railroad tracks using a while loop.

    Click on Railroad to show the example.

  3. Let's draw a bullseye.

    Click on Bullseye to show the example.

  4. Let's draw a stack of blocks using a nested while loop.

    Click on Blocks to show the example.