The ne relational operator represents a not equal to condition within relational expressions.
exp ne exp
if ans ne "y" then print "Not equal to Yes" else print "Yes"