positive or negative number using conditional operator in C