diff --git a/du6/program.c b/du6/program.c index 47c25e2..f8fe1a0 100644 --- a/du6/program.c +++ b/du6/program.c @@ -40,17 +40,19 @@ int main(){ qsort(pole_smernikov, pocet_mien_v_poli, sizeof(char*), compare); int skip=0; - /*for(int j = 0;skip==0&& j='a'&&pole_smernikov[j][i]<='z')||(pole_smernikov[j][i]>='A'&&pole_smernikov[j][i]<='Z')){ continue; } else{ - printf("Nespravna odpoved\n"); + printf("Nespravny vstup\n"); skip=1; } } - }*/ + } + if (!skip){ printf("Prijati studenti:\n"); for(int i = 0; i