Initialization

This commit is contained in:
Kozar 2024-03-04 16:28:02 +01:00
parent c97976e478
commit 8f7129fca9

View File

@ -19,6 +19,17 @@ int main() {
length = count; length = count;
for (int y = 0; y <= length; y++ ){
if (atoi(coefs[y]) == 1){
printf("Nepodarilo sa nacitat polynom na %d mieste.", y);
break;
}
else{
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];
} }