Оновити 'cv3/program.c'
This commit is contained in:
parent
56f7c58a19
commit
103815e3e9
@ -15,7 +15,7 @@ int main(){
|
||||
y1 = *y;
|
||||
if(y1 >= 'A' && line[0] != '\n'){
|
||||
printf("Nepodarilo sa nacitat zaklad x\n");
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
while(line[0] != '\n'){
|
||||
cfIdx++;
|
||||
@ -28,7 +28,7 @@ int main(){
|
||||
}
|
||||
if(chcf1 >='A' && line[0] != '\n'){
|
||||
printf("Nepodarilo sa nacitat polynom na %d mieste.\n", cfIdx);
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
printf("Vysledok je: %.2f\n", result);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user