n = 42 if n.negative? puts "negative" elsif n.zero? puts "zero" else puts "positive" end
branch on conditions