Изменил(а) на 'du3/program.c'

This commit is contained in:
Vladyslav Korzun 2023-03-06 17:40:52 +00:00
parent 3c8964523f
commit 1b4ea58624

View File

@ -24,10 +24,10 @@ int main(){
break;
}
r = fgets(riadok,LINE_SIZE,stdin);
pos++;
if(feof(stdin)){
break;
}
pos++;
if (r == NULL || !isdigit(*r)) {
//printf("%d", *r);
if(*r == 10){