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 meant by a constitution
what is one way to say "email" in spanish
which of these is an example of following the rule of law
a) Explain the difference between Monkish concept and moderate path with examples. (word limit: 300 words, 3 marks)
Events on a timeline must be arranged A alphabetically. B chronologically. C randomly. D briefly.
3 Ordena de menor a mayor las cantidades destacadas. 1. Un zapoteca sembró el árbol del Tule hace veinte siglos. 2. Hace 3 500 años, los egipcios inventaron el
Select all the expressions that have a value of 180 when b = 4. 87b−179+957÷87 33b12 b2+120 51b−24 11b+187−2,756÷13
A ligamentous connection, such as that between the bones of the lower leg, is called a ____________. a. synchondrosis b. gomphosis c. syndesmosis d. synostosis
Question 7 options: y = -15 y = 15 y = 8 y = 2
A triangle has sides with lengths 4.15, 7.092 and 12.45. What is the perimeter of the triangle?​