Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main()
  5. {
  6. float a = 6.208, b = 23.575, c, F;
  7.  
  8. printf("Vvedit znachennya C:");
  9. scanf("%f", &c);
  10.  
  11. if (b >= c, c > a) {
  12. F = pow(log(pow(a, fabs(c - b))), 2);
  13. printf("F = %f", F);
  14. }
  15. else
  16. if (c < 3) {
  17. F = log(b + pow(c, 2) * a);
  18. printf("F = %f", F);
  19. }
  20. else printf("Znachennya C ne popalo v diapason potribnyh");
  21.  
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement