0

Fill in the blanks

for(i=0;i<5;i++) { for(j=0;j<=i;j++) { printf("%d",______); } printf("\n"); } output 5 4 8 3 6 9 2 4 6 8 1 2 3 4 5

24th Jul 2017, 4:43 PM
Jaina Trivedi
Jaina Trivedi - avatar
1 Odpowiedź
+ 1
((j+1) + (4-i) * (j+1))
24th Jul 2017, 5:23 PM
Jaina Trivedi
Jaina Trivedi - avatar