x= rand(5)
y= rand(5)
if x>y
print x
print "big"
elsif x==y
print x
print "middle"
else
print x
print "small"
end
if "print 'big'"
x +=1
print "因为X大于Y,所以X需要加1,结果等于#{x}"
elsif "print 'middle'"
x +=0
print "因为X等于Y,所以X不变,结果等于#{x}"
else "print 'small''"
x -=1
print "因为X小于Y,所以X需要减1,结果等于#{x}"
end
exit