From: "Peña, Botp" Date: 2008-06-10T10:05:21+09:00 Subject: Re: I'm New From: stanislaus_d@hotmail.com [mailto:stanislaus_d@hotmail.com] # 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' # end # end welcome to ruby! simplify your program by asking simple/few if questions, and deducing fr it. compare it eg w, puts "SPEAK up, Sonny, I can't hear you." talk = gets.chomp if talk == talk.upcase puts 'no not since' else puts 'What? Sonny, speak louder! Like THIS.' end # When you run it, and say something in Caps it returns both if puts # things so I don't know how to fix it. you had a problem along this line, if talk == talk.capitalize or talk.downcase talk.downcase always return true, ergo the whole or expression/condition always returns true. maybe you wanted if talk == talk.capitalize or talk==talk.downcase as you progess, you'll probably then realize that this is a trivial problem that you yourself can handily fix. read more about ruby expressions and control structures. breakup problems into smaller problems. use irb. run one statement/expression at a time. check all possible cases. go slow first. stop if you need rest, but keep on studying/programming ;) hth. kind regards -botp