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

Why is Mathilde dismayed when her husband shows her the invitation to the ball at the palace of the Ministry in "The Necklace"? A.) She thinks the people who wi
Will give correct answer brainliest The train is speeding down the track. The faster the train moves the more diesel fuel the train uses. That means the faster
can someone tell me the error in this equation?​
(HELP!) During her visit to zoo, lvy stops by the cafe and orders a chicken fajita taco and a juice. if she pays for her order with a 10.00 dollar bill, how muc
Question 12 Which answer illustrates "compound interest"? OA. You open two savings accounts and put money in both. O B. Compounding interest only occurs on the
Twice a number plus three times another is 28. The sum of the numbers is 10. What are the two numbers?
How did non-Muslims view George Bush's speech? A His speech was about anger at Al-Qaida, and how Islam was responsible for them. B His speech called for respect
Help meh out a little
An airplane descended 4,000 feet before landing The entity that represents how many feet the airplane was above the ground before it’s descendants is
How many atoms of calcium are in 1.00g