Question 22 Consider Following Recursive Definition N Positive Integer F 1 3 F N F N 1 1 N Q29139928

QUESTION 22

Consider the following recursive definition, where n is apositive integer.

F(1) = 3
F(n) = F(n – 1) + 1 if n > 1

The value of F(3) is

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *