This commit is contained in:
Yaroslav Orlianskyi 2022-03-18 12:05:07 +01:00
parent a6487f89df
commit b9668e0125
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -9,9 +9,9 @@ int main(){
float r = scanf("%f", &value); float r = scanf("%f", &value);
if(r == 1){ if(r == 1){
vxod[i++] = value; vxod[i++] = value;
}else if(r == '\n') }else if(r == '\n'){
continue; printf("Vysledok je: %.2f\n", vxod[i]);
else if(r <= 255 && r >= 0){ }else if(r <= 255 && r >= 0){
if(i != 0) if(i != 0)
printf("Nepodarilo sa nacitat polynom na %d mieste.\n", i); printf("Nepodarilo sa nacitat polynom na %d mieste.\n", i);
else else