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