9 lines
127 B
Ruby
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
|