Compare commits
No commits in common. "56fc32fdf9a427eceaf0d6e069be466f3d26140f" and "4f0fdefc555aedd75a6c64de0d047c147a0f90ac" have entirely different histories.
56fc32fdf9
...
4f0fdefc55
BIN
du3/program
BIN
du3/program
Binary file not shown.
@ -9,11 +9,7 @@ int main(){
|
|||||||
float r = scanf("%f", &value);
|
float r = scanf("%f", &value);
|
||||||
if(r == 1){
|
if(r == 1){
|
||||||
vxod[i++] = value;
|
vxod[i++] = value;
|
||||||
}else if(r <= 255 && r >= 0){
|
}else{
|
||||||
printf("Nepodarilo_sa_nacitat_polynom_na_2_mieste.\n");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
for(int a = 1; a < i; a++)
|
for(int a = 1; a < i; a++)
|
||||||
result = vxod[0] * result + vxod[a];
|
result = vxod[0] * result + vxod[a];
|
||||||
printf("Vysledok je: %.2f\n", result);
|
printf("Vysledok je: %.2f\n", result);
|
||||||
|
Loading…
Reference in New Issue
Block a user