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

This commit is contained in:
Vladyslav Korzun 2023-03-06 17:06:24 +00:00
parent d3741e5e0c
commit a0a40567d3

View File

@ -21,10 +21,11 @@ int main(){
//float p = 0;
while(stop == 0){
r = fgets(riadok,LINE_SIZE,stdin);
pos++;
if(feof(stdin)){
break;
}
pos++;
if (r == NULL || !isdigit(*r) || *r == EOF || feof(stdin)) {
//printf("%d", *r);
if(*r == 10){