+ 16

Again the same question: why the array goes to 14 ¿? Опет исто питање: зашто низ иде до 14 ¿¿

https://code.sololearn.com/cry20dgnYacc/?ref=app

10th Feb 2018, 4:25 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
7 ответов
+ 17
Thank you honestly RandomCoder !¡ Хвала најискреније RandomCoder !¡
12th Feb 2018, 6:50 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
+ 15
Code is different in "code vu0063 i 0064" Код је другачији у "code vu0063 i 0064"
12th Feb 2018, 6:10 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
+ 15
Surely there will be more questions. I'm not a genius :) and I'm a beginner who is a lot of pause. Thaks !¡ Наравно да ће бити још питања. Нисан баш неки геније,а и имао сам неизбежну паузу. Хвала !¡
12th Feb 2018, 6:41 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
+ 14
Looks like I did not understand it well. Thanks RandomCoder. Изгледа да ја баш нисам ово добро разумео. Хвала RandomCoder.
11th Feb 2018, 1:42 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
+ 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
10th Feb 2018, 4:27 PM
Sad
Sad - avatar
+ 3
Ok, we are here to help ☺
12th Feb 2018, 6:42 PM
Sad
Sad - avatar
+ 2
Do you have any more questions?
12th Feb 2018, 6:15 PM
Sad
Sad - avatar