You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Write an angry boss program that rudely asks what you want. Whatever you answer, the angry boss should yell it back to you and then fire you. For example, if you type in 'I want a raise' it should yell back like this: WHADDAYA MEAN 'I WANT A RAISE?!?' YOU'RE FIRED!!
begin
puts "...Bah humbug. Whaddaya want?"
answer = gets.chomp
puts "Answer the question!" if answer.strip.empty?
end while answer.strip.empty?
puts "WHADDAYA MEAN \'#{answer.upcase}?!?\' YOU'RE FIRED!!"