fork download
  1. int main() {
  2. int num;
  3. printf ("Enter the number %d\n");
  4. scanf ("%d", &num);
  5.  
  6. if (num < 0){
  7. printf ("The number is negative \n");
  8. }
  9. else{
  10. printf ("The number is positive \n");
  11. }
  12.  
  13. }
Success #stdin #stdout 0s 5320KB
stdin
7
stdout
Enter the number 1825208904
The number is positive