fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a = 3, b = 2;
  6. float c = 0.0;
  7. c = a/b; // That is c = 3/2;
  8. printf("%f", c);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
1.000000