0
The script is not working
x = 18 y = gets if y = x print "ok" end if y < x print "no" end if y > x print "no" end Shauld give no or ok, but give always a ok
5 ответов
+ 7
But its string
So convert it to int
+ 6
Replace y=x by y==x
+ 6
And make sure y is in integer form
0
y should be set by gets