Computer Science, asked by shreyaku, 3 months ago

38. Find the error:
X = 3;
y = 4;
z = math.power(x*x, y/2);​

Answers

Answered by BrainlyProgrammer
4

Answer:

z= Math.pow((X*X), (Y/2)) ;

Answered by TheUntrustworthy
11

Find the error:

X = 3;

y = 4;

z = math.power(x*x, y/2);

The error in this is that instead of writing "pow" ot is written "power" which will declare an error in the whole program.

The correct program will be:

x = 3;

y = 4;

z = math.pow(x*x, y/2);

Similar questions
Math, 1 month ago