Facebook
  1. #include <stdio.h>
  2. #include <math.h>
  3. int main()
  4. {
  5.     double x = 0.0 , y = 0.0 , z = 0.0;
  6.     printf("x = ");
  7.     scanf("%lf", &x);
  8.  
  9.     printf("y = ");
  10.     scanf("%lf", &y);
  11.  
  12.  
  13.     printf("z = ");
  14.     scanf("%lf", &z);
  15.  
  16.     double a = 0 , b = 0;
  17.     a = x + 4 * y + pow(z , 3);
  18.     b = (x + sqrt(y)) * (pow(z , 4) - abs(z) + 46.3);
  19.  
  20.     printf("a) %f \n", a);
  21.     printf("b) %f \n", b);
  22.  
  23.     return 0;
  24. }
  25.  

Replies to Re: Re: Re: Untitled rss

Title Name Language When
Re: Re: Re: Re: Untitled Lousy Marten text 2 Years ago.