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 presence of five digits is a plesiomorphic characteristic and is, therefore?
Arguments as to whether people's behavior is more strongly influenced by temporary external influences or by enduring inner influences best characterize the:___
The following Computer output presents the least-squares regression line for predicting the price of a certain commodity from the price of a barrel of oil. ____
. Which of the following is parallel to 5x + 2y = 1?
The journal entry to close the fees earned, $115, and rent revenue, $20, accounts during the year-end closing process would involve:_________.
Abraham maslow suggested that self-transcendence needs motivate people to strive for:________
Discrete trial teaching occurs in a ______________ learning environment, whereas incidental teaching occurs in a _____________ environment. natural; structured
The molecule that functions as the reducing agent (electron donor) in a redox reaction _____.
Match the definition to the term. 1. consonant or vowel sound repeating on stressed syllables 2. three syllables, two unaccented followed by one accented 3. rep
Of the ten leading causes of illness and death, how many are associated directly with nutrition?