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:
7.5
Step-by-step explanation:
It is greater because it is closer to 8.
Answer: 1.1
Step-by-step explanation:
If Sam buys 14 water bottles, he will have spent 18.9, so when you subtract 20 (the limit) from 18.9 (how much money he'll spend on the water bottles) you get 1.1