Aktualizovat „a1/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-15 18:26:10 +00:00
parent 59488fd26a
commit 150a09d6ea

View File

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