1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nastasia [14]
3 years ago
10

The hypotenuse function is correct, but the main function has a problem. Explain why it may not work, and show a way to fix it.

Your fix must be to the main function only; you must not change the hypotenuse function in any way.
Mathematics
1 answer:
Drupady [299]3 years ago
7 0

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;

}

You might be interested in
Whats bigger three fifths or 0.35
never [62]
3/5. Because 35/100 is simplified to only3/10
7 0
3 years ago
Work out the answers to:<br> a) 8.2 x 13<br> b) 0.8 x 5.7<br><br> What’s the answer?
Assoli18 [71]
A.) 106.6
B.) 4.56
..........,.,...,,,
4 0
3 years ago
How to solve system of equation word problems
Elza [17]
 All you have to do is find the important info and use it and do whatever and all you have to do is take the numbers do the question and ur done :D

8 0
4 years ago
Read 2 more answers
MATH TEST PLEASE HELP ASAP
Lunna [17]

Answer:

1734

Step-by-step explanation:

3 times 17 to find the number of feet =51

51 time $34 (the price per foot  ) to find total

8 0
2 years ago
20 points!
meriva

All circles are similar because all circle have same shape.

However Two circles are congruent , if and only if their radii are congruent.

In our question we are asked when are all circles similar given if their radii are congruent.

So we can say this statement is false because no matter the radii are congruent or not  , two or more circles are always similar because of their same shape no matter what the measure of their radii is. Only if we are asked when they are congruent, we will consider the radii part.

Answer is false.

4 0
4 years ago
Read 2 more answers
Other questions:
  • Tammy must run more than 73 miles total to reach her fitness goals. She has already run 33 miles and runs 5 miles per day. Which
    7·1 answer
  • Show how to add 2 1/2+4/5 using a number line
    15·1 answer
  • Rename number 680=_______tens
    7·2 answers
  • What number should be added to 942 to get a sum of 9882?<br>Answer​
    6·2 answers
  • I need help finding out the answer
    11·2 answers
  • Rick traveled 23 of the way from his parents' house to his college dorm. He has driven 294 miles. What is the total distance bet
    9·1 answer
  • D/3 = 19 <br><br> what is d?<br><br> d = ?
    15·2 answers
  • Help please!! Will mark as brainliest
    10·2 answers
  • The scale drawing of a rectangular city park measures 10.0 cm by 5.0 cm. The scale of the drawing is 1.0 cm = 4.5 m. What is the
    6·1 answer
  • Help. Please asap rn.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!