Computer Science, asked by halfdinner6893, 1 year ago

The Evaluation Of The Pow(a, B, C) Function Is C) Error, Pow0 Takes Only 2 Arguments D) (a**b) And C Is Ignored

Answers

Answered by StaceeLichtenstein
10

The Evaluation Of The Pow(a, B, C) is

(a ** b)%c.

Explanation:

In this question the option(a) and option(b) are missing the correct option for the given question is

a) (a ** b)*c.

b) (a ** b)%c.

c) Error, Pow0 Takes Only 2 Arguments .

d) (a**b) And C Is Ignored.

So option(c) i.e "(a ** b)%c" is the correct answer .

  • Pow function is used to calculate the power of the given number .The Pow(a, B, C) firstly converted the parameter into float then after calculates its power.
  • In the python language the pow(a,b,c) can be expressed as (a **b)%c which means that firstly it calculate the power (a**b) then after it using % (modulas) operator with c.
  • Following are the syntax of Pow(a, B, C)

       float pow(x1,y1,mod)

    it will return the value in "float"

  • Following are the example of pow in python language .

          print (pow(2,6,10))

        This willl return 6.

Learn more :Evaluation Of The Pow(a, B, C)

  • ........ Is used to give power of the given number​? https://brainly.in/question/12491221
  • Write a program that uses a method power ()?

       https://brainly.in/question/10802956

Answered by vikrantgautam8760
1

Answer:

the evaluation of the pow (a, b, c) function is

Similar questions