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(" "); } }