x=2;
if x==0
    disp('x is zero')
else
    if (x>0)
        disp('x is positive')
    else
        disp('x is negative')
    end
   end
