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
nika2105 [10]
3 years ago
7

The length of the hypotenuse of a right-angled triangle is the square root of the sum of the squares of the other two sides. Wri

te a function calcH that accept two doubles as function arguments and returns a double. Prompt the user for the length of base and the perpendicular side of the triangle. Use the pow and sqrt functions from cmath to perform the calculations.
Computers and Technology
1 answer:
Maksim231197 [3]3 years ago
4 0

Answer:

# include<cmath>

# include <iostream>

# include<stdio.h>

using namespace::std;

int main()

{

   

   float a, b, c;

   cout<<"Enter a (Perpendicular)"; cin>>a;

   cout<<"Enter b (base)";cin>>b;

   c= sqrt(pow(a,2) + pow(b,2));

   cout<< "Hypotenuse="<<c;

   return 0;

}

Explanation:

Please check the answer section.

You might be interested in
Change the quick style gallery display
OverLord2011 [107]

Answer:

wdym?

Explanation:

5 0
3 years ago
Which command is located in the Action Settings dialog box that allows a user to set a linked or embedded object as a trigger to
aev [14]

Answer:

Object action was the answer.

Explanation:

3 0
3 years ago
Read 2 more answers
fill in the balenkes ) 1)there are ................................... function keys on the keybord 2)pressing the end key moves
Doss [256]

Answer:

1.) There are 12 function keys 2.) The return Key

Explanation:

6 0
3 years ago
Which of the following would you not see on a windows 10 start menu?
mixas84 [53]
Task view is the option that you would not see on a Windows 10 Start menu, whereas if you click the Windows button, you can see tiles with different applications, all of your apps in the form of tiles you can distribute according to your own taste, and power button where you can choose whether you want to shut down your computer, put it to sleep, or log out.
4 0
3 years ago
What are the benefits of using presentations to organize and deliver information?
bearhunter [10]
Hello.

The benefits of using presentations to organize and deliver information are: it keeps things in order, keeps peoples attention longer, and it looks more professional.
4 0
3 years ago
Other questions:
  • Earthquakes with magnitudes between 1.0 and 2.9 on the Richter scale are
    11·1 answer
  • Sarah is creating and formatting a newsletter for her school. Which page layout rules should she consider when doing this?
    13·2 answers
  • What is an example of a good URL?
    7·2 answers
  • You need to prevent the use of tftp through your firewall. which port would you block?
    9·1 answer
  • It is good practice, however, for policy _________________________ to solicit input both from technically adept information secu
    7·1 answer
  • What are the text or graphics that are lighter than the main text located in a document's background called?
    10·1 answer
  • How does the Rights Management Services feature help to protect information
    11·1 answer
  • 30 points) Suppose you are given a string containing only the characters ( and ). In this problem, you will write a function to
    14·1 answer
  • Sypherpk is good go sub 2 him
    6·2 answers
  • Describe in detail what each step would look like if you ran into a software error.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!