fork download
  1. #include <stdio.h>
  2. int main(void) {
  3. int i,j;
  4. float f,g;
  5.  
  6. i = 5; j = 2;
  7. f = 3.0;
  8. f = f + j / i;
  9. g = (f + j )/i;
  10. printf("value of f,g is %f,%f\n", f,g);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 9416KB
stdin
Standard input is empty
stdout
value of f,g is 3.000000,1.000000