代码怎么沾不近来啊~~~~~!
#include <cstdlib>#include <iostream>
using namespace std;
void GetTotal(int & bs,int & tp);int main(int argc, char *argv[]){ int last = 1; int temp = 1; GetTotal(last,temp); cout << "总共有: "<<last <<"桃子\n"; system("PAUSE"); return EXIT_SUCCESS;}void GetTotal(int & bs,int & tp) { if(tp<6) { bs = bs*5+1; ++tp; GetTotal(bs,tp); } }好了,你看我理解的对不对!!!1