#include <stdio.h>
int main () {
int num;
printf ("Enter the number \n"); printf ("The number entered is %d \n", num
);
if (num < 0){
printf ("The number is negative \n"); }
else{
printf ("The number is positive \n"); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbiAoKSB7CiBpbnQgbnVtOwogcHJpbnRmICgiRW50ZXIgdGhlIG51bWJlciBcbiIpOwogc2NhbmYgKCIlZCIsICZudW0pOwogcHJpbnRmICgiVGhlIG51bWJlciBlbnRlcmVkIGlzICVkIFxuIiwgbnVtKTsKCiBpZiAobnVtIDwgMCl7CglwcmludGYgKCJUaGUgbnVtYmVyIGlzIG5lZ2F0aXZlIFxuIik7CiB9CiBlbHNlewoJcHJpbnRmICgiVGhlIG51bWJlciBpcyBwb3NpdGl2ZSBcbiIpOwogfQogcmV0dXJuIDA7CgogfQ==