fork(16) download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a = 3;
  5. float b = 10, c;
  6. c = b/(float)a;
  7. printf("%f\n", c);
  8. return 0;
  9. }
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
3.333333