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
Ada lovelace designed the first computer
muminat

Answer:      yes.                        

this was A very good question and after alot of digging up i finally found the answer by searching who was the first computer programmer on google :3

8 0
3 years ago
Which term is used to identify the connection of computers that are physically close to one another?
marta [7]

Answer: Local Area Network (LAN)

Explanation:

A Local Area Network (LAN) is a computer network that interconnects computers within a limited physical area such as a residence, school, laboratory, university campus or office building.

An example of  LAN network is "Phone, Computer and TV connected to a single network (such as a Home Network) via Cables, Wifi, Bluetooth or Hotspot". When the devices are interconnected or connected to a LAN, it becomes accessible between each other.

A simplest example of a LAN Device is a <em>Home Router.</em>

6 0
3 years ago
Read 2 more answers
WHAT ARE THE CONTENTS THAT WE SHOULD USE FOR THE PRESENTATION OF DIGITAL WORLD
Lana71 [14]

Answer:

Introduction

Importance

Advantages

Disadvantages

Effects

Conclusion

8 0
3 years ago
HELP!!!!!!!! my keyboard keeps acting up every time I press a random key on my keyboard when it stops working it works perfectly
iogann1982 [59]

Answer:

try unplugging it and replugging it in, make sure your keyboard is clean, that there aren't any crumbs underneath the keys.

they using it on a different device and see if it does the same thing.

Explanation:

5 0
3 years ago
How to type this [attachment] type of symbol in ms word.​
nata0808 [166]

Explanation:

step 1: Type the normal letter A

step 2: Go to insert and press on equation with a pi sign on you far right.

step 3: Then press on accent, represented by a letter ä on your far right

step 4: on Accent you can choose the option that has an arrow on top of the block.

I hope this makes sense

:)

4 0
3 years ago
Read 2 more answers
Other questions:
  • What is alphabet symmetry
    12·2 answers
  • What operating system type uses icons to represent programs
    9·2 answers
  • C programmig : Output all combinations of character variables a, b, and c, using this ordering:abc acb bac bca cab cbaSo if a =
    12·2 answers
  • List three ways you can help somone who is being cyber bullied instead of just being a bustander​
    7·2 answers
  • You want to add a picture of a potential new office layout to the title page of a proposal. How can you adjust the size of the i
    14·1 answer
  • Question #5<br> How does the computer decide which path to follow in a selection control structure?
    12·1 answer
  • Which tabs are expandable and collapsible
    14·1 answer
  • Type the correct answer in each box. Spell all words correctly, and use numerals instead of words for numbers. If necessary, use
    6·1 answer
  • If you are connected to a network that uses DHCP, and you need to terminate your Windows workstation's DHCP lease, which command
    12·1 answer
  • Is Aerospace Engineering a more enjoyable major than Computer Engineering?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!