Initialization

This commit is contained in:
Kozar 2024-03-07 13:21:47 +01:00
parent a04d2b1d39
commit c655f32716

View File

@ -14,7 +14,7 @@ int main() {
while (count < SIZE) { while (count < SIZE) {
if (scanf("%lf", &input) != 1) { if (scanf("%lf", &input) != 1) {
if (scanf("%c", &input) == 1) { if (scanf("%c", &input) == 1) {
printf("Nepodarilo sa nacitat polynom na %d mieste.", count); printf("Nepodarilo sa nacitat polynom na %d mieste.\n", count);
return 0; return 0;
} }
break; break;