Skip to content

Instantly share code, notes, and snippets.

@Lin4ipsum
Created August 9, 2012 22:43
Celsius_to_fahrenheit_converter.rb
print "What celsius tempurature would you like convert to farhenheith?"
celsius = gets.chomp.to_i
fahrenheit = (celsius *9/5 + 32)
puts "The result is: #{fahrenheit}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment