title: rb:29: syntax error, unexpected end-of-input, expecting keyword_end
body: <p>Trying to figure out why I'm getting this error. </p>
  
  <p>Methods that have an If/Else statement don't require an end statement? </p>
  
  <p>Also, somehow the formatting is all screwed up. Tried for several minutes to fix. Don't know where I went wrong?</p>
  
  <pre><code>def greeter(name)
    puts "Hello #{name}!!"
  end
  
  def by_three?(num)
    if num % 3 == 0
      puts true
     else
      puts false
  
   def age(n)   
  if n &lt; 30
      puts "You are younger than 30!"
  else 
      puts "You are older than 30!" 
  
  
  puts "Enter your name"
  your_name = gets.chomp
  puts "Enter your age"
  yourage = gets.chomp
  
  
  by_three?(3)
  greeter(your_name)
  age(your_age)   
  </code></pre>