Aktualizovat „a1/program.c“
This commit is contained in:
parent
150a09d6ea
commit
9ba7e835b9
@ -14,7 +14,11 @@ int main()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
long double r =0;
|
long double r =0;
|
||||||
while((r=scanf("%Lf",&value)!=EOF)){
|
while(1){
|
||||||
|
r = scanf("%Lf",&value);
|
||||||
|
if (r==EOF){
|
||||||
|
break;
|
||||||
|
}
|
||||||
if(r!=1){
|
if(r!=1){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user