S
Scott Andrechek
Hi. I'm new to ruby and i am trying to get a while not loop to occur if
the answer i got from gets wasn't capatalized. This is what i have now:
while not answer3.upcase
puts "WHAT!"
answer3=gets
end
It's not working and i've also tried answer3= .upcase and such. Thanks
in advance for the help.
the answer i got from gets wasn't capatalized. This is what i have now:
while not answer3.upcase
puts "WHAT!"
answer3=gets
end
It's not working and i've also tried answer3= .upcase and such. Thanks
in advance for the help.