New and with a problem.

Hi, all
I've just entered into the world of programming and, I guess I chose ruby.
I'm trying to make this work but it doesn't seem to wan't to
I don't know why it shows both ifs
If some one could help, I'd be really appreciative!

puts 'Speak up Sonny I can't hear you.'
talk = gets.chomp
if talk == talk.capitalize or talk.downcase
then puts 'What? Sonny speak louder! Like THIS.'
if talk == talk.upcase
then puts 'no not since'

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!