Aktualizovat „du5/program.c“
This commit is contained in:
parent
a119f138ab
commit
910fa65ef7
@ -45,7 +45,11 @@ int main(){
|
|||||||
}
|
}
|
||||||
sscanf(str,"%s %[^\t\n]",digit,name);
|
sscanf(str,"%s %[^\t\n]",digit,name);
|
||||||
if(isalpha(digit[0])!=0){
|
if(isalpha(digit[0])!=0){
|
||||||
break;
|
if(c==0){
|
||||||
|
printf("Nepodarilo nacitat nic\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
int score = atoi(digit);
|
int score = atoi(digit);
|
||||||
PersonList[c].score = score;
|
PersonList[c].score = score;
|
||||||
|
Loading…
Reference in New Issue
Block a user