From 38b96c08119265b2eebd80fa8f44793ff06e2f3d Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Tue, 24 Nov 2020 21:34:48 +0100 Subject: [PATCH] a3 --- a3/program.c | 3 +++ 1 file changed, 3 insertions(+) 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;