fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int num1 = 3.0 , num2= 2.0;
  5. float result;
  6. result= num1/num2;
  7. printf("%f",result);
  8.  
  9. return 0;
  10. }
Success #stdin #stdout 0s 5284KB
stdin
 
stdout
1.000000