This is a simple implementation of a pow(x, y)
which performs the power between x and y, Using
primitive recursive functions.
The formal representation of the function pow(x, y),
using primitive recursion
is this:
To execute the program use the .jar file on the directory.
java -jar jar/RecursivePrimitiveFunctions.jar x y
where:
x: positive base of the power.y: positive exponent of the power.
$ java -jar jar/RecursivePrimitiveFunctions.jar 7 4
pow(7, 4) = 2401
- Cristian Abrante Dorta - CristianAbrante

