Aktualizovat „du5/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-09 23:35:42 +00:00
parent a119f138ab
commit 910fa65ef7

View File

@ -45,6 +45,10 @@ int main(){
}
sscanf(str,"%s %[^\t\n]",digit,name);
if(isalpha(digit[0])!=0){
if(c==0){
printf("Nepodarilo nacitat nic\n");
return 0;
}
break;
}
int score = atoi(digit);