Изменил(а) на 'du3/program.c'
This commit is contained in:
parent
17215a9651
commit
d3741e5e0c
@ -22,6 +22,9 @@ int main(){
|
||||
while(stop == 0){
|
||||
r = fgets(riadok,LINE_SIZE,stdin);
|
||||
pos++;
|
||||
if(feof(stdin)){
|
||||
break;
|
||||
}
|
||||
if (r == NULL || !isdigit(*r) || *r == EOF || feof(stdin)) {
|
||||
//printf("%d", *r);
|
||||
if(*r == 10){
|
||||
|
Loading…
Reference in New Issue
Block a user