Advertisement
daniv1

29.2

Oct 29th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.40 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3. int main(void)
  4. {
  5.     float a,b,c;
  6.     printf("Input A\n");
  7.     scanf("%f", &a);
  8.     printf("Input B\n");
  9.     scanf("%f", &b);
  10.     printf("Input G\n");
  11.     scanf("%f", &c);
  12.     printf("%f\n",a);
  13.     printf("%f\n",b);
  14.     printf("%f\n",c);
  15.     float y = 0;
  16.     y = (fabsf(a+b)*(2+(powf(cosf(c),2)/(a+b))))/(expf(a-b));
  17.     printf("Y = %f",y);
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement