F
Fred Ige
I am trying to make a simple temperature converter, and I want to ask
for F temperature (numerical value)
what command do I use?
for F temperature (numerical value)
what command do I use?
I am trying to make a simple temperature converter, and I want to ask
for F temperature (numerical value)
what command do I use?
print "Enter a number: "
line = gets
num = line.to_i
You can get fancier with error-checking, etc., but that's the basic
idea.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.