38. Find the error:
X = 3;
y = 4;
z = math.power(x*x, y/2);
Answers
Answered by
4
Answer:
z= Math.pow((X*X), (Y/2)) ;
Answered by
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