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.

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

Positive and negative numbers in a number line