Update 'cv3/program.c'

This commit is contained in:
Tamáš 2024-03-08 08:29:31 +00:00
parent e6a33cf6f4
commit 5fe30441cf

View File

@ -16,9 +16,8 @@ int main() {
int count = 0; int count = 0;
if (scanf("%lf", &x) != 1) { if (scanf("%lf", &x) != 1) {
printf("Nepodarilo sa nacitat hodnotu x.\n"); printf("Nepodarilo sa nacitat zaklad x\n");
return 0; return 0;
}
while (scanf("%lf", &coef) == 1) { while (scanf("%lf", &coef) == 1) {
coefficients[count++] = coef; coefficients[count++] = coef;
@ -35,4 +34,3 @@ int main() {
return 0; return 0;
} }