1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include<stdio.h> int main() { int n; n=5; if(n>0) { printf("The number %d is positive\n",n); } else { printf("The number %d is negative\n",n); } return 0; }
1
The number 5 is positive