Question: Why is it fair to use either recursion or iteration to solve a problem like factorial? Group of answer choices Factorial describes how the result

Why is it fair to use either recursion or iteration to solve a problem like factorial?
Group of answer choices
Factorial describes how the result should look (e.g.,6!=6*5*4*3*2*1), it doesn't require a specific algorithm to get the result.
This is incorrect, factorial can only be implemented using iteration.
This is incorrect, factorial can only be implemented using recursion.
Because we are using Scheme, other languages don't support both recursion and iteration.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!