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