Friday, August 17, 2012

A power function to calculate x to the power of y

Scratch does not have a function to calculate powers of numbers.  The following code will calculate the base to the power of exponent:

No comments:

Post a Comment