print "Enter an integer: "
n = gets.to_i
if n > 0
puts "your number is positive"
elsif n < 0
puts "your number in negative"
else
puts "your number is zero!"
end
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
What language is this?