can someone show me how todo this problem step by step? 1. Convert the following
ID: 3575609 • Letter: C
Question
can someone show me how todo this problem step by step?
Explanation / Answer
Answer for First Problem :-
#include<stdio.h>
#include<math.h>
int main()
{
double x,y,z,p,area;
printf("Enter x value : ");
scanf("%lf",&x); // enter x value -> it reads the x value
y=(x*x*x);
z=(x*1.6);
printf("The y value is %lf ",y);
printf("The z value is %lf ",z); // prints the z value;
printf("Enter area : ");
scanf("%lf",&area); //enter area value.
z=area*(sqrt(area));
printf("The z value is %lf ",z); // prints the z value;
p=((x*x)+y)/((x*x)-y);
printf("The p value is %lf",p); // prints the p value;
return 0;
}
Answer for Second Problem :-
#include<stdio.h>
int main()
{
double x,y,z;
printf("Enter x value and y value: ");
scanf("%lf%lf",&x,&y); // it reads the x value and y values
z=(x/y);
printf("The z value is %lf ",z); //prints z value.
return 0;
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.