whateverblog.
Amy writes her first program!
Friday, December 05, 2003 01:42 PM
Last night, my wife wrote her first computer program:
print 'how many meters: '
usernumber = gets
puts (usernumber.to_f * 3.28).to_s + ' feet'
In just a few minutes, she learned about strings, ints, floats, variables, and input/output. I'm married to a genius! :)