fork download
  1. #include <stdio.h>
  2. int main ()
  3. {
  4. int i, value1, value2;
  5.  
  6. printf ("Enter your numbers: ");
  7. scanf ("%i %i", &value1, &value2);
  8.  
  9. if ( value1 / value2 )
  10. printf ("Yes, it is.\n");
  11. else
  12. printf ("No, it is not.\n");
  13.  
  14. return (0);
  15.  
  16. }
Success #stdin #stdout 0.01s 5288KB
stdin
10
2
stdout
Enter your numbers: Yes, it is.