C Program to Check if a given Integer is Positive or Negative
This C Program checks if a given integer is positive or negative. Here if a number is greater than 0 then that number is a positive number. If a number is less than 0 then the number is negative number.
Here is source code of the C program which checks a given integer is positive or negative. The C program is successfully compiled and run on a Linux system. The program output is also shown below.
0 comments:
Post a Comment