Part 4: Subroutine call and return
Using two important instructions of MARIE (JnSand JumpI ), implement a subroutine (afunction) such that when this function is called, it willcalculate, print and save the next element in a Fibonacci series.As you know, Fibonacci numbers can be calculated based on thefollowing equations.
In this Part, you should implement a subroutine and a programthat calls that subroutine. Assume your subroutine is called FIBO,such that when FIBO is called it will first calculate the nextelement in Fibonacci series, then it will print and save thecalculated Fibonacci number in an array in MARIE memory. At thebeginning, the first
PayPal Gateway not configured
PayPal Gateway not configured