Computer Science, asked by purwasingh2222, 1 year ago

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

Answers

Answered by Brenquoler
4

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);

Answered by tanyavarshney15
2

Answer:

x=3;

y=4;

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

EXPLANATION:

THE CORRECTION WILL BE z=math.pow instead of z=math.power

HOPE IT HELPS YOU....

PLEASE MARK ME AS A BRAINLIEST

Similar questions