摘要: # 递归 ###1.做一个累乘的递归 代码: ```ruby public static int multiplications(int a) { if (a == 1) { return 1; } return a * multiplications(a - 1); } ``` ###2.做一个1 阅读全文
posted @ 2023-07-05 23:28 邓博文 阅读(5) 评论(0) 推荐(0) 编辑