diff --git a/du2/program.c b/du2/program.c index 099889b..85e879a 100644 --- a/du2/program.c +++ b/du2/program.c @@ -26,7 +26,7 @@ int main(){ count++; } - if (value==0){ + if (count==0){ printf("Chyba: Málo platných hodnôt.\n"); return 0; }