iitanox8222 iitanox8222
  • 23-08-2019
  • Computers and Technology
contestada

Write a C++ program that takes two numbers and uses the pow() fuction to illustrate exponentials in Visual Studio.

i.e
cout: 2^4 =16

Respuesta :

tonb
tonb tonb
  • 23-08-2019

Answer:

int main()

{

std::cout << pow(2, 4);

}

Explanation:

The ^ operator exists, but has a different meaning in C++, it means XOR. So be careful not to misinterpret it.

Answer Link

Otras preguntas

Joey pays $672 per year in insurance, how mush should he budget monthly for it? A. $112, B. $84 C. $56, D. $28 The equation y = 1.55x + 110,419 approximates t
A ladder 25 feet long is placed so that it’s top reaches 24 feet up the side of the house. How far from the house is the bottom of the ladder
The​ climate, altitude, and terrain in india are particularly suitable for growing bananas. although bananas are grown in other​ countries, india's production f
Read the first stanza of "The Tide Rises, The Tide Falls." The tide rises, the tide falls, The twilight darkens, the curlew calls; Along the sea-sands damp and
HELP PLEASE with number 1
How were the sirens a danger to odysseus and his men quzielt?
We draw 2 cards from a deck of 52 cards. what is the probability that both are queens?
What made the middle colonies different from New England and the southern colonies? a. The poor soil was difficult to farm. b. The large plantations had many en
the measures of the angles of triangle are 3x°,5x°,76°. Find the value of x
Commodore george dewey is best known for his overwhelming success in the taking of manila bay in which war?