Ask Question

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

+1
Answers (1)
  1. 29 March, 12:05
    0
    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.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “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 ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers