#include <stdio.h>
void main()
{
int ikeyword=0, icount=0;
printf("please input your keyword~!\n");
scanf("%d",&ikeyword);
for(icount=0;icount<3;icount=icount+1)
{
if(ikeyword==8848)
{printf("loading..."); break;}
else if(icount<3)
printf("input again\n");
else
printf("today you have no chance~!");
}
getch();
}
要输入错误超过3次后退出。。莪的怎么一下就退出勒?麻烦各位大虾帮帮忙