From 9857b4e93bd79fd58474e363a7ae77f7420d1959 Mon Sep 17 00:00:00 2001 From: Artem Horbunov Date: Wed, 8 Apr 2020 16:38:18 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu6/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du6/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/du6/program.c b/du6/program.c index ab38d39..ddb0d38 100644 --- a/du6/program.c +++ b/du6/program.c @@ -108,11 +108,11 @@ int main(){ } else{ printf("Prijati studenti:%s", string); - for(int i = 0; i < lines + test; i++){ + for(int i = 0; i < lines + test1; i++){ printf("%s\n", newNames[i]); } puts("Neprijati studenti:"); - for(int i = lines + test; i < newLines; i++){ + for(int i = lines + test1; i < newLines; i++){ printf("%s\n", newNames[i]); } }