I have been playing around on CodeCademy with some Ruby since yesterday, and I feel as though I am grasping it slightly, but a few issues are becoming visible.
What is wrong with this code? I keep getting an error:
(ruby):15: syntax error, unexpected $end, expecting keyword_end
print "What grade did you get on your final?"
grade = gets.chomp
if grade > 1
puts "You're just making that up! Really?"
answer = gets.chomp
yes = true
no = false
if answer == true
print "Oh, that's awesome!"
if answer == false
print "Dang, I thought you were serious."
else
print "What? I don't understand."
end