prac

an anonymous user · January 15, 2022 · C
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
 
int main()

{
    float y, a, b, c, x, h, z, sum;
    printf("Enter a: ");
    scanf("%f", &a);
    
    printf("Enter b: ");
    scanf("%f", &b);
    
    printf("Enter c: ");
    scanf("%f", &c);
    
    printf("Enter x: ");
    scanf("%f", &x);
    h = pow(c, 3)*x;
    
     y = ((asin(a+b))/(2.5*x))*(sqrtf(pow(c,3)*x));
      printf ("znach y=%f", y);
      
    z = (log(a+b))/((pow(h,2)))*exp(x);
    printf ("znach z=%f", z);
    
    sum = y+z;
     printf ("summa z=%f", sum);

}

Comments

Please sign up or log in to contribute to the discussion.