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

. The villagers are trying to learn English _____ they can communicate with foreign customers. A. so that B. in order that C. although D. A and B are correct
Find area of the region under the curve y=9−3x^2 and above the x-axis.
which of these could be an example of an entry in a roman numeral outline A) A. animal kingdom B) 1-1-2 animal kingdom C) -animal kingdom D) 1.3 animal kingdom
Think about the different forms of pollution and write 4 statements regarding how to protect yourself from 4 different sources of pollution.
List ten cosmetics and Deodorants​
Which three points are collinear?
LAST-ATTEMPT MARKING AS BRAINLIEST!! rewrite the “Textbook Account” of Manifest Destiny. What really were the reasons and motivations behind American territori
I need help on this. I've no idea about this. Please help me...​
What questions you would like to ask your teacher to know about the role of vaccine in prevention of harmful diseases ​
the mauryans established a blank government in their empire. the blank was the supreme head of the administration