fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int num1 = 3;
  6. int num2 = 4;
  7.  
  8. float result = (float)num1/4;
  9.  
  10. printf("%f\n", result);
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
0.750000