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;