fork download
  1.  
  2. #include <stdio.h>
  3. #include <conio.h>
  4. #include <math.h>
  5. void main(void)
  6. {
  7. float a,s,x,b;
  8. x=5.33;
  9. a=2.6;
  10. while (a<=7.9)
  11. {
  12. if (a<=x)
  13. {
  14. s=a*x*sqrt(abs(b-log(x*x)));
  15. }
  16. if (a>x)
  17. {
  18. s=pow(((b+x*log(a))/sqrt(sin(a)*sin(a))),1/3);
  19. }
  20. b=(1+cos(pow(a,3)))/exp(log(a)+cos(x));
  21. a=a+0.26;
  22. printf ("s=%f\n",s);
  23. printf ("b=%f\n",b);
  24. }
  25. }
  26.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:3:19: fatal error: conio.h: No such file or directory
 #include <conio.h>
                   ^
compilation terminated.
stdout
Standard output is empty