diff --git a/du2/program b/du2/program index 75e2879..6aecb61 100755 Binary files a/du2/program and b/du2/program differ diff --git a/du2/program.c b/du2/program.c index 86e73d1..8e62cad 100644 --- a/du2/program.c +++ b/du2/program.c @@ -16,6 +16,8 @@ int main(){ /*if(max < results[i]) max = results[i];*/ i++; + }else if(i == 0){ + printf("Chyba: Málo platných hodnôt.\n"); }else{ break; }