fork(1) download
  1. #include <stdio.h>
  2. int main(void){
  3. // you code goes here
  4. int m = 5;
  5. printf("m/2 = %d\n",m);
  6. printf("(float)(m/2) = %f\n",(float)(m/2));
  7. printf("(float)(m/2) = %f\n",(float)m/2);
  8. printf("m = %d\n",m);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5288KB
stdin
111
stdout
m/2 = 5
(float)(m/2) = 2.000000
(float)(m/2) = 2.500000
m = 5