fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x=3, y=2;
  5. float z=2.0;
  6. printf("%d %d\n", x%y, y%x);
  7. printf("%d %.2f", x/y, x/z);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5296KB
stdin
Standard input is empty
stdout
1 2
1 1.50