From: Ruby Quiz Date: 2006-02-24T23:13:37+09:00 Subject: [QUIZ] Current Temperature (#68) The three rules of Ruby Quiz: 1. Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. 2. Support Ruby Quiz by submitting ideas as often as you can: http://www.rubyquiz.com/ 3. Enjoy! Suggestion: A [QUIZ] in the subject of emails about the problem helps everyone on Ruby Talk follow the discussion. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= by Caleb Tennis Write a Ruby program such that given a certain argument to the program it will return the current temperature of that location. People living in the United States may be interested in temperature by ZIP code: $ ruby current_temp.rb 47201 The temperature in Columbus, Indiana is 32 degrees F. Other locales may want to use their own mailing codes, or city names: $ ruby current_temp.rb madrid The temperature in Madrid, Spain is 12 degrees C. Which arguments you support is up to you.