if else check'
#include<stdio.h>
void main() {
int num;
printf("Enter the number:");
scanf("%d", &num);
/* check whether the number is negative number */ if (num < 0)
{ printf("The number is negative.");
}
{else
printf("The number is positive.");
}