Initialization

This commit is contained in:
Kozar 2024-03-04 19:42:02 +01:00
parent f8a88cc358
commit 6daf21a50d

View File

@ -20,18 +20,18 @@ int main() {
length = count; length = count;
for (int y = 0; y < length; y++ ){ // for (int y = 0; y < length; y++ ){
int b = coefs[y]; // int b = coefs[y];
if (isdigit(b) == 0){ // if (isdigit(b) == 0){
printf("Nepodarilo sa nacitat polynom na %d mieste.", y); // printf("Nepodarilo sa nacitat polynom na %d mieste.", y);
break; // break;
} // }
else{ // else{
continue; // continue;
} // }
} // }
for (int i = 1; i < length; i ++){ for (int i = 1; i < length; i ++){
result = result * x + coefs[i]; result = result * x + coefs[i];