#include<stdio.h>
#include<stdlib.h>
#include<time.h>
intgame()
{
intnum=0;
intret=0;
srand((unsignedint)time(NULL));
ret=rand;
ret=ret%100;
while(1)
{
scanf("%d",&num);
if(num>ret)
{
printf("大了,请再猜!\n");
}
elseif(num<ret)..
分类:
编程语言 时间:
2015-10-13 13:58:19
阅读次数:
234