Use QtSpim to implement the code below to implement a recursive sequence
an = an−1 + bn−1
bn = an−1 − bn−1
with a0 = b0 = 0 and a1 = 2, b1 = 1.
Your code should prompt the user to enter the value of n and display the results in the console.
Note that you should use recursion to implement the code.
Also determine the smallest positive value of n for which your code results in an error. Explain
the cause of error.