正文
增加 20 行删除 20 行
1,227 行未改动全部展开122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212532 行未改动1256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012916 行未改动12981299130013011302130313041305130612 行未改动1319132013211322132313241325132613272 行未改动133013311332133313341335133613371338133913401341347 行未改动全部展开1,227 行未改动全部展开hezi();else break;}}void dz(){system("cls"); //打字赚钱分页cout<<"欢迎来到打字赚钱!给你一串英文字符,你应该打出一样的一串英文字符,每个字符2元,有一个字母错误则什么也无法获得!\n";srand(time(0));int x;cout<<"按1开始,其他键退出\n";cin>>x;if (x!=1) return;string s,s2;int i,t; //x=字数 ,t随机cout<<"你要打几个字?最多100个"<<endl;cin>>x;if (x<1 || x>100){cout<<"字数错误,请重新输入"<<endl;cout<<"按任意键继续"<<endl;cin>>x;dz();}for (i=0;i<x;i++){t=rand()%2;if (t==0){t=rand()%26+'A';2 行未改动if (t==1){t=rand()%26+'a';s+=char(t);}}cout<<"请照打!"<<s;cin>>s2;if (s==s2){cout<<"输对了,获得"<<x*2<<"元。"<<endl;n+=x*2;}else {cout<<"输错了,你什么也没有得到。"<<endl;}save();pause();}void js(){ //计算赚钱system("cls");cout<<"欢迎来到计算赚钱!做出计算题的答案即可!一道题5元!\n";int a,b,i,c,n,l,ans,q;cout<<"按1开始,其他键退出\n";cin>>l;if (l!=1) return;cout<<"你要做几道计算题?最多100道";cin>>n;if (n<1 || n>100){cout<<"题目数错误,请重新输入"<<endl;cout<<"按任意键继续"<<endl;cin>>l;js();}for (i=1;i<=n;i++){c=rand()%3;if (c<2){a=rand()%1000;6 行未改动cout<<"正确!"<<endl;q++;}else cout<<"错误!"<<endl;}else {if (ans==a-b) {cout<<"正确!"<<endl;q++;12 行未改动cout<<"正确!"<<endl;q++;}else cout<<"错误!"<<endl;}else {if (ans==b) {cout<<"正确!"<<endl;q++;2 行未改动}}}cout<<"你做对了"<<q<<"道题,获得"<<q*10<<"元"<<endl;n+=q*5;save();pause();}void get_money() {while (1) {save();cls();347 行未改动全部展开1,227 行未改动全部展开122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212532 行未改动1256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012916 行未改动12981299130013011302130313041305130612 行未改动1319132013211322132313241325132613272 行未改动133013311332133313341335133613371338133913401341347 行未改动全部展开1,227 行未改动全部展开hezi();else break;}}void dz(){system("cls"); //打字赚钱分页cout<<"欢迎来到打字赚钱!给你一串英文字符,你应该打出一样的一串英文字符,每个字符2元,有一个字母错误则什么也无法获得!\n";srand(time(0));int x;cout<<"按1开始,其他键退出\n";cin>>x;if (x!=1) return;string s,s2;int i,t; //x=字数 ,t随机cout<<"你要打几个字?最多100个"<<endl;cin>>x;if (x<1 || x>100){cout<<"字数错误,请重新输入"<<endl;cout<<"按任意键继续"<<endl;cin>>x;dz();}for (i=0;i<x;i++){t=rand()%2;if (t==0){t=rand()%26+'A';2 行未改动if (t==1){t=rand()%26+'a';s+=char(t);}}cout<<"请照打!"<<s;cin>>s2;if (s==s2){cout<<"输对了,获得"<<x*2<<"元。"<<endl;n+=x*2;}else {cout<<"输错了,你什么也没有得到。"<<endl;}save();pause();}void js(){ //计算赚钱system("cls");cout<<"欢迎来到计算赚钱!做出计算题的答案即可!一道题5元!\n";int a,b,i,c,n,l,ans,q;cout<<"按1开始,其他键退出\n";cin>>l;if (l!=1) return;cout<<"你要做几道计算题?最多100道";cin>>n;if (n<1 || n>100){cout<<"题目数错误,请重新输入"<<endl;cout<<"按任意键继续"<<endl;cin>>l;js();}for (i=1;i<=n;i++){c=rand()%3;if (c<2){a=rand()%1000;6 行未改动cout<<"正确!"<<endl;q++;}else cout<<"错误!"<<endl;}else {if (ans==a-b) {cout<<"正确!"<<endl;q++;12 行未改动cout<<"正确!"<<endl;q++;}else cout<<"错误!"<<endl;}else {if (ans==b) {cout<<"正确!"<<endl;q++;2 行未改动}}}cout<<"你做对了"<<q<<"道题,获得"<<q*10<<"元"<<endl;n+=q*5;save();pause();}void get_money() {while (1) {save();cls();347 行未改动全部展开