- 游戏
- 2019-08-22 18:33:33 @
#include<cstdio>
#include<cstdlib>
int main()
{
int n,s;
printf("请输入(小于1000,大于0,否则直接结束!!):\n");
scanf("%d",&n);
if(n>999||n<=0)
return 0;
for(int i=1;i<=9999;i++)
printf("\n");
printf("GO!!!\n");
do
{
scanf("%d",&s);
if(s>n)
printf("大了!\n");
if(s<n)
printf("小了!\n");
if(s==n)
break;
}
while(1);
printf("对了!!恭喜!!!\n");
system("pause");
return 0;
}
3 条评论
-
㸚茻㠭㗊 LV 4 @ 2019-08-24 15:58:02
?
-
2019-08-22 19:20:55@
%%%%%
-
2019-08-22 18:46:52@
- 1