This commit is contained in:
Kozar 2024-02-28 14:27:14 +01:00
parent 09d4f14580
commit 16ba1cb4f4

View File

@ -14,7 +14,8 @@ int main(){
break; break;
} }
if (input < 0) { if (input < 0) {
break; printf("Chyba: Málo platných hodnôt.\n")
break;
} }
field[count] = input; field[count] = input;
count++; count++;