标签:ace img space ios log cout images iostream blog
#include <iostream> using namespace std; int age(int num){ int a; if(num==1) a=10; else a=age(num-1)+2; return a; } int main(){ cout<<age(5)<<endl; return 0; }
标签:ace img space ios log cout images iostream blog
原文地址:http://www.cnblogs.com/928990166li/p/7794656.html