Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.43 KB | None | 0 0
  1. int main(){
  2.     float a, b, c;
  3.  
  4.     a = powf((5.671 * powf(0.6, 1.0/2.0) + acos(pow(4.0, -1.0))), 1.0/3.0);
  5.     b = cos(1.0/(cos(3.0)) + atan(2.0/3.0)) - expf(-2.0/5.0) * sinf(logf(3.0));
  6.  
  7.     if (a >= b) c = powf(a, 1.0/5.0) - powf(b, 1.0/5.0);
  8.    
  9.     else c = powf(a, 1.0/5.0) + powf(b, 1.0/5.0);
  10.  
  11.     printf("a = %f, b = %f, c = %f \n", a, b, c);
  12.     printf("Var - float, const - float");
  13.  
  14.     getch();
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement