Not sure why I keep getting expecting end of input syntax error
puts 'Lets talk to grandma'
talk = gets.chomp
x = 100
while x > 0
if talk == talk.upcase
puts 'NO NOT SINCE' + ' ' + rand(1900).to_s + '!'
else
puts 'HUH'
end
if talk == 'BYE'
break
end
end
Aucun commentaire:
Enregistrer un commentaire