i would like to have you write a program to use recursion to subtract two numbers. you will create a recursive function that takes two integers and then will call itself recursively in order to do the subtraction. you will need to print out the answer. as an example, if you enter 5 and 3, the answer should printed on the screen as 2. for 5-3

Respuesta :

Recursion is a programming or coding technique where a function repeatedly calls itself within the body of the function. Typically, it is giving back the result of this function call.

We refer to a function definition as being recursive if it meets the recursion condition. Recursion is a programming or coding technique where a function repeatedly calls itself within the body of the function. Typically, it is giving back the result of this function call. We refer to a function definition as being recursive if it meets the recursion requirement.

A recursive function must meet a crucial requirement in order to be utilized in a program: it must end. A recursive function comes to an end if the problem's solution shrinks with each call and moves closer to the base case. A base case is a situation in which the issue can be resolved with no additional recursion. If the base case is not satisfied in a recursion, it may result in an infinite loop.

To know more about recursion click here:

https://brainly.com/question/20749341

#SPJ4