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