fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. double a,b,c,x;
  6. a=86.7;
  7. b=97.3;
  8. c=7.8;
  9. x=(b-c)/a;
  10. printf("value of x is %lf",x);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 4440KB
stdin
Standard input is empty
stdout
value of x is 1.032295