Learn To CODE. Become A DEVELOPER.
#include int main() { int i; printf("Enter a number:\n"); scanf("%d",&i); if(i<=0) { if(i==0) printf("%d is zero",i); else printf("%d is negative",i); } else printf("%d is positive"); return 0; }