/* To find the value of z */
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
int main()
{
float a,b,c,z,x,y,w;
printf("Enter the value of a: ");
scanf("%f",&a);
printf("Enter the value of b: ");
scanf("%f",&b);
printf("Enter the value of c: ");
scanf("%f",&c);
x=pow(a,b);
y=x+c;
y=pow(y,5);
w=y/b;
z=sqrt(w);
printf("The value of z is %f",z);
system("pause");
return 0;
}
No comments:
Post a Comment