fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5.  
  6. int a,b,c;
  7. double x;
  8.  
  9. a=20;
  10. b=10;
  11. c=5;
  12.  
  13. x=a/(b-c);
  14.  
  15. printf("Answer is %f",x);
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 4376KB
stdin
Standard input is empty
stdout
Answer is 4.000000