title: Verifying Length of Integer
body: <h1>Hello Everyone,</h1>
  
  <p>I have another Ruby question.
  I want to make sure the users input is 5 numbers if its more or less I want it to output Error. I might have the loop wrong I sometimes get it confused.
  <br>
  <br>
  Do I have to use Integer(gets.chomp)? 
  <br>
  Because I have seen that also when getting integers from users.
  <hr>
  <strong>Here is my code:</strong>
      #!/usr/bin/env ruby</p>
  
  <pre><code>print "What is your zip code? "
  zip_code = gets.chomp
  puts zip_code
  zip_code_array = zip_code.split
  
  unless zip_code_array.length == 5
    puts "Error"
  else
    puts "Good"
  end
  </code></pre>
  
  <hr>