From 9a3a7ab227db67867e1e267c22e76aa98263fd44 Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Tue, 24 Nov 2020 20:21:03 +0100 Subject: [PATCH] aa3 --- a3/program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/a3/program.c b/a3/program.c index 03455cd..46bda33 100644 --- a/a3/program.c +++ b/a3/program.c @@ -12,9 +12,9 @@ int main() { scanf("%d", &a[i]); } //m = buildmaxheap(a, n); - printf("The heap is\n"); - for (t = 0; t < n; t++) { - printf("%d\n", m[t]); + printf("Je to taka kopa:\n"); + for (i = 0; i < n; i++) { + printf("%d\n", a[i]); } return 0;