递归实现ab
摘要:
#include<iostream>using namespace std;const int N = 5;double fun(double a,double b){ return a==1?b:b+fun(a-1,b); } void main(){ double a[N] = {10,9,8, 阅读全文
posted @ 2020-12-27 18:31 HatTrickMaster 阅读(35) 评论(0) 推荐(0) 编辑