diff --git a/cv3/program.c b/cv3/program.c index b26c83a..cd0217a 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -13,7 +13,7 @@ int main() { while (count < SIZE) { if (scanf("%lf", &input) != 1) { - if (scanf("%c", &input) == 1 && input == 'x') { + if (scanf("%c", &input) == 1) { printf("123\n"); return 0; }