fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. double a, b, c, x;
  5. a=5;
  6. b=6;
  7. c=2;
  8. x=a/(b-c);
  9. printf("the value of X is %f",x);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 4368KB
stdin
Standard input is empty
stdout
the value of X is 1.250000