I'm getting error like comparison of string with 50 failed
for the below code snippet.Please guide me to resolve




print(' Enter your mark :')
mark = gets()
if(mark < 50)
puts( " You passed")
else
puts(" You just scored #{mark} which is not enough to pass ")

end

-- 
Posted via http://www.ruby-forum.com/.