Initialization

This commit is contained in:
Kozar 2024-03-05 11:19:44 +01:00
parent b1050e2100
commit ca04f8b787

View File

@ -15,15 +15,15 @@ int main() {
printf("\n x input \n"); printf("\n x input \n");
break; break;
} }
if (count < 2){
printf("Nepodarilo sa nacitat polynom na 2 mieste.");
}
coefs[count] = input; coefs[count] = input;
count++; count++;
} }
x = coefs[0]; x = coefs[0];
if (count < 2){
printf("Nepodarilo sa nacitat polynom na 2 mieste.");
return 0;
}
length = count; length = count;
for (int i = 1; i < length; i ++){ for (int i = 1; i < length; i ++){