Untitled
#include <stdio.h> #include <stdlib.h> int main() { int a; printf("nhap mot so bat ky: "); scanf("%d", &a); if (a > 0) { printf("%d is a positive number\n", a); } else if (a < 0) { printf("%d is a negative number \n", a); } else { printf("the number entered is zero\n"); } return 0; }