Aktualizovat „a1/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-15 18:28:00 +00:00
parent 150a09d6ea
commit 9ba7e835b9

View File

@ -14,7 +14,11 @@ int main()
return 0;
}
long double r =0;
while((r=scanf("%Lf",&value)!=EOF)){
while(1){
r = scanf("%Lf",&value);
if (r==EOF){
break;
}
if(r!=1){
break;
}