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;
for (int y = 0; y < length; y++ ){
int b = coefs[y];
// for (int y = 0; y < length; y++ ){
// int b = coefs[y];
if (isdigit(b) == 0){
printf("Nepodarilo sa nacitat polynom na %d mieste.", y);
break;
}
else{
continue;
}
// if (isdigit(b) == 0){
// printf("Nepodarilo sa nacitat polynom na %d mieste.", y);
// break;
// }
// else{
// continue;
// }
}
// }
for (int i = 1; i < length; i ++){
result = result * x + coefs[i];