Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 292 Bytes

contibuting.md

File metadata and controls

15 lines (12 loc) · 292 Bytes

#include <stdio.h>

void main() { int num;

printf("Enter a number: \n");
scanf("%d", &num);
if (num > 0)
    printf("%d is a positive number \n", num);
    printf("%d is a negative number \n", num);
else
    printf("0 is neither positive nor negative");

}