Ask Question
2 November, 00:42

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

+4
Answers (1)
  1. 2 November, 03:51
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers