是递归循环递归

2023-09-11 02:32:28 作者:出门左拐慢走不送

1,程序将计算出使用重复执行(循环)的值。

"1. The program will calculate the values using repetitive execution (loops)."

递归是重复执行,但是,我不认为这是一个循环,你想,如果我用递归会按照上面的指引?

Recursion is repetitive execution but, i do not think it's a loop, do you think if I used recursion it would follow the guideline above?

推荐答案

没有。事实上,它看起来像指派专门要求递归的对立面,迭代。

No. In fact, it looks like the assignment is specifically asking for the "opposite" of recursion, iteration.