Episode 2 - Code Flow: Top Down

Exercises

  1. Create a ruby program that outputs:
    8
    6
    7
    5	
    3
    0
    9
    
  2. Look at this code:
    puts 3
    puts 1
    put 4
    puts 1
    puts 5
    puts 9
    If you run the code, why do you get an error?