The program is an example of recursion
In computer programming, recursion is a process in which a function calls itself.
In a recursive program, there is a
When the condition of recursion is met, the base case is returned, else, the recursive case is continued.
In the function given above,
So, the function runs until the base case it met and then it stops.
So, the program is an example of recursion.
Learn more about recursion here:
https://brainly.com/question/25797503