diff --git a/a3/program.c b/a3/program.c index 9084db9..a7670b1 100644 --- a/a3/program.c +++ b/a3/program.c @@ -16,6 +16,9 @@ int main() { printf("Je to taka kopa:\n"); for (i = 0; i < n; i++) { printf("%d\n", a[i]); + if(a[i+1]!=0&&a[i+1]>a[i]){ + printf(" "); + } } return 0;