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

What is 258 divided by 6?
What type of responsibility are voting and serving in the military? mandatory voluntary personal political
If the government under the Articles was so ineffective, why weren’t changes made?
Find the vertex F(x)=5x²-10x+3
What is the derivative of the function (2x^2+3x+7)/(sqrt(x))
Approximately how long have the two major parties currently in power been involved in politics in the United States? 1. since the early 1800's 2. since the draf
There are four "human skills" that a good administrative Medical assistant should posses. Give a realistic medical office example of how the MAA could use one o
what process takes place inside chloroplasts
Find the simple interest. principal = $10,400; rate = 12.5%; time = 11 years A.$1300 B.$9152 C.$11,700 D.$14,300
The Declaration of Independence described the