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

Find mDEG This Geometry of Circles
Describe how zinc chloride crystals are produced from zinc chloride solution.
In 3-5 sentences, describe the requirements to run for U.S. president and how many terms a president can serve as outlined in the U.S. Constitution. (4 points)
The mean number of sick days an employee takes per year is believed to be about 10. Members of a personnel department do not believe this figure. They randomly
Finley River has earnings-to-date of $208,000 and current wages of $15,600.
please help me i dont know this
Let A and ibe events with P(A) = 4, P(B) = .4, and P(A or B) = .7. What is P(A and B)?
A school administrator believes that the mean class GPAs for a given course are higher than the preferred mean of 2.75 at a significance level of 0.05, and chec
•Identify and summarize three fiscal policy tools that the federal government may use to combat a recession. Explain how each tool may reduce the recession and
Hi, I have to do a 7 minute presentation and a least 4-5 slides of small of big paragraphs on each on. The topic is career research and I am researching informa