全文预览

c语言大富翁

上传者:相惜 |  格式:docx  |  页数:37 |  大小:37KB

文档介绍
ame);gotojintui2;        case22:printf("进入人品驿站~~考验人品的时候到了!\n");Sleep(1000);p2.money=renpin(p2.money);;break;        default:fang(p1.turns);break;        }         system("cls");         weizhi[p2.dangqian]=2;         qipan(weizhi);        weizhi[p2.dangqian]='';        for(b=1,a=0;a<=18;a++)        {        if(p2.fangchan[1][a]==2)        {            printf("%d号商店收益:%d ",a,p2.fangchan[4][a]);            p2.money=p2.money+p2.fangchan[4][a];            b++;            if(b==4)            {                printf("\n");                b=1;            }        }                     }        system("pause");        p1.turns=1;        gototurn;    }    }end:printf("名字:");        puts(p1.allname);        if(p1.money<3000)    {        printf("身份:贫民\n");        printf("弱爆了你,才这点钱~!\n");        m=10;

收藏

分享

举报
下载此文档