fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main(void) {
  5. // your code goes here
  6. float a;
  7. float b;
  8. float d;
  9. int c;
  10. a = 100.00;
  11. b = 50.00;
  12. d = remquof( a, b, &c );
  13. printf( "%f, %d", d, c );
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 4292KB
stdin
Standard input is empty
stdout
0.000000, 2