Click New Example to start working through an example. Click on the instructions in the steps of the algorithm to see the values of the variables in each step. First click on step 1. and then on the following steps in the order of execution.
New Example Restart Example
Algorithm.Eighth power.
Input: an integer c
Output: c 8
  1. let d := c ⋅ c
  2. let e := d ⋅ d
  3. let f := e ⋅ e
  4. return f