box-o-sand/wikibooks-tutorial/quiz.rb
2011-01-03 14:01:42 -05:00

9 lines
127 B
Ruby

name = 'Charlie Brown'
puts <<"QUIZ"
Student: #{name}
1.\tQuestion: What is 4+5?
\tAnswer: The sum of 4 and 5 is #{4+5}
QUIZ