C Program to Check Whether a Number is Positive or Negative

You will learn to check whether a number (entered by the user) is negative or positive in this example.
Positive and negative numbers in a number line

To understand this example, you should have the knowledge of following C programming topics: