Answer: hello your question is incomplete attached below is the missing codes
Answer : It may not work because; the double pointer P was not allotted a double using a new double ( I.e. Error in the main function ) also the cout statement was not written in the main function
Step-by-step explanation:
It may not work because; the double pointer P was not allotted a double using a new double ( I.e. Error in the main function ) also the cout statement should be moved to the Main
<u><em>The correction is below </em></u>
{
double* p = new double;
hypotenuse(1.5, 2.0, p);
cout << "The hypotenuse is " << *p << endl;
}
Answer:
Yy8cgucucy8cc8yc8ygf7yy7 gdyrvdysrtu ui
Hope this helps. I think it's right? haha haven't done this in a while.
(3, - 2)
given y = - 2, then
- 2x + 4 = - 2 ( solve for x )
subtract 4 from both sides
- 2x = - 6 ( divide both sides by - 2 )
x =
= 3