Page 1 of 1

*** [3 marks] Write a recursive function mystery (n), using the pseudocode principles covered in the lecture, to calcula

Posted: Fri May 20, 2022 1:33 pm
by answerhappygod
3 Marks Write A Recursive Function Mystery N Using The Pseudocode Principles Covered In The Lecture To Calcula 1
3 Marks Write A Recursive Function Mystery N Using The Pseudocode Principles Covered In The Lecture To Calcula 1 (18.03 KiB) Viewed 13 times
*** [3 marks] Write a recursive function mystery (n), using the pseudocode principles covered in the lecture, to calculate the nth value in the sequence mystery(n) = -2 * mystery(n − 1), where mystery(1) = -2.