diff --git a/cv3/program.c b/cv3/program.c index 10995b9..860b66d 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -10,14 +10,9 @@ int main() { int count = 0; int length = 0; double result = 0.0; - double ivrt = 0; while (count < SIZE && scanf("%c", &input) == 1) { - ivrt = atof(input); - if (ivrt == 0.00){ - printf("String \n"); - } - coefs[count] = input; + coefs[count] = input - '0'; count++; }