From aa1d0cb61ceafc275721d3e124cfac4990c1bcf2 Mon Sep 17 00:00:00 2001 From: Anzhelika Nikolaieva Date: Tue, 4 Apr 2023 15:37:16 +0000 Subject: [PATCH] Update 'du6/program.c' --- du6/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du6/program.c b/du6/program.c index 64676e1..0d8a30f 100644 --- a/du6/program.c +++ b/du6/program.c @@ -80,7 +80,7 @@ int main() { puts("Prijati studenti:"); - for (int j = 0; j < i; j++) { + for (int j = 0; j < a; j++) { if (j == counter) { puts("Neprijati studenti:"); }