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 the measure of ∠x
What is the formula for the compound iodine trichoride?
Select the three main properties of fluids. elasticity torque viscosity hydraulics ductility compressibility
What types of slavery existed in North America?​
Select the correct answer from each drop-down menu. carbon, an important element for life, keeps cycling between the spheres of the earth. carbon dioxide in the
12. A child touches the metal leg of a chair. She says "The cold is moving to my hand!" How would you (gently) correct the child in physics terms
‼️‼️‼️30 pts‼️‼️‼️‼️ After the Romans forced all Jews to leave Jerusalem, the Jews began to settle in far away places. Why was it important that their religious
Wind is caused by differences in elevation. True or False
What religions were involved in the Armenian genocide
Question 12 of 21 Series J 30-48.- MANUFACTURING PRODUCTION-INDEXES BY GROUPS (FEDERAL RESERVE BOARD): 1919 TO 1945 DURABLE MANUFACTURES TOTAL, YEAR MANUFACTURE