+ 16
Again the same question: why the array goes to 14 ¿? Опет исто питање: зашто низ иде до 14 ¿¿
7 Respostas
+ 17
Thank you honestly RandomCoder !¡
Хвала најискреније RandomCoder !¡
+ 15
Code is different in "code vu0063 i 0064"
Код је другачији у "code vu0063 i 0064"
+ 15
Surely there will be more questions. I'm not a genius :) and I'm a beginner who is a lot of pause. Thaks !¡
Наравно да ће бити још питања. Нисан баш неки геније,а и имао сам неизбежну паузу. Хвала !¡
+ 14
Looks like I did not understand it well. Thanks RandomCoder.
Изгледа да ја баш нисам ово добро разумео. Хвала RandomCoder.
+ 3
for (int k = 0; k < 8; k++) {
a[k] = k*2;
}
So this for loop wil run 8 times. Each time it will fill array with number -- k*2.
k = 0, a[0] = 0 (0*2)
k = 1, a[1] = 2 (1*2)
k = 2, a[2] = 4 (2*2)
k = 3, a[3] = 6 (3*2)
k = 4, a[4] = 8 (4*2)
k = 5, a[5] = 10 (5*2)
k = 6, a[6] = 12 (6*2)
k = 7, a[7] = 14 (7*2)
If you dont understand tell me. Or maybe I did not understand question correctly
+ 3
Ok, we are here to help ☺
+ 2
Do you have any more questions?