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'
0 · ·