fix minusove cisla

This commit is contained in:
Michal Utľák 2024-02-27 17:16:11 +01:00
parent 5d16981bdc
commit 4c0226e60c

View File

@ -11,8 +11,7 @@ int main() {
} }
if (cislo < 1) { if (cislo < 1) {
printf("Neplatne cislo zadane. Koniec nacitania.\n"); break;
return 1;
} }
pole[pocetCisel] = cislo; pole[pocetCisel] = cislo;