From 8c879df9cb620b50d6c98dfce854ebeb81de7bd2 Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Tue, 24 Nov 2020 21:50:34 +0100 Subject: [PATCH] a3 --- a3/program.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/a3/program.c b/a3/program.c index c241a6d..41e506c 100644 --- a/a3/program.c +++ b/a3/program.c @@ -18,6 +18,8 @@ int main() { printf("%d\n", a[i]); if(a[i+1]!=0){//&&a[i+1]>a[i] printf(" "); + if(a[i+2]!=0) + printf(" "); } }