master
“独白 6 years ago
parent e67ca3b53e
commit 8a995b9292

@ -206,6 +206,7 @@ for(i=0;i<all;i++)
if(student[i].num==num_temp)
{
result=1;
break;
}
}
if(result==1)
@ -221,10 +222,10 @@ do
{
printf("输入学号:");
scanf("%d",&num_temp);
if(num_temp<10141301)
if(num_temp>999999999)
printf("error!");
}
while(num_temp<10140301);
while(num_temp>99999999);
if(CheckNumber(num_temp)>0)
{
printf("Number repeatly!\n");
@ -546,4 +547,3 @@ return 0;
}

Loading…
Cancel
Save