Изменил(а) на 'du3/program.c'
This commit is contained in:
parent
f9c31abf43
commit
7ac71d230a
@ -23,7 +23,8 @@ int main(){
|
|||||||
r = fgets(riadok,LINE_SIZE,stdin);
|
r = fgets(riadok,LINE_SIZE,stdin);
|
||||||
pos++;
|
pos++;
|
||||||
if (r == NULL || !isdigit(*r)) {
|
if (r == NULL || !isdigit(*r)) {
|
||||||
if(*r == 13){
|
//printf("%d", *r);
|
||||||
|
if(*r == 10){
|
||||||
stop = 1;
|
stop = 1;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
Loading…
Reference in New Issue
Block a user