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

Waft is the value of the numerical expression 4+(8*2)-3+5
A millimeter is _____ meter(s). A. 1,000 B. 100 C. 1/100th D. 1/1,000th
click on the graph until the graph of a line with undefined slope appearsplease help! picture is above!
If cosθ =1/3 , then sinθ = _____.
—Me gusta esquiar. ¿Y a ti? —A mí _____. A. tampoco B. también C. mucho D. más
Which organelle is involved in the synthesis of fatty acids and the detoxification of alcohol?
How to add 3.4 plus 40
Point a and point b are placed on a number line point a is located -20 and point b is 5 less then point a .which statement about paint b is true
draw, label and box in 7. draw picures (quick tens) to count on to 150
The somatosensory cortex in the human brain processes information about _____.