是递归循环 [英] Is recursion a loop

查看:107
本文介绍了是递归循环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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.

这篇关于是递归循环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆