From 762afc6522402cbd47ac9cdb177928b514ad7109 Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Fri, 22 Apr 2022 09:41:25 +0200 Subject: [PATCH] sds --- du6/program.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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