Solved Question 6 Reprogram The Following Iterative Function

Solved Question 6 Reprogram The Following Iterative Function