Ask Question
15 July, 19:02

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

+3
Answers (1)
  1. 15 July, 20:31
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers