Computer Science, asked by kuttappayi9481, 9 months ago

Write equivalent cplusplus statement for the mathematical equation z equal to x^y

Answers

Answered by gauravarduino
0

Explanation:

Mathematical formulas typically use a single character to represent a variable (but ... Superscripts (e.g., xn ) usually denote an exponentiation operation ...

Answered by AskewTronics
0

"z=pow(x,y)" is a c++ expression :

Explanation:

  • The pow function is used to calculate the power but the user needs to include the header file "math.h" to use the pow function.
  • So the user needs to declare the x,y and z variable before using the above expression which is used to give the result of x to the power y.
  • The user needs to print the value of z to known the value of x to the power y.

Learn More :

  • C++ program  : https://brainly.in/question/3999878
Similar questions