How many times inner loop execute? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1
28th Sep 2019, 3:07 PM
punam gaikwad
8 ответов
+ 2
FOLLOW ME 3*3=9 9 Times.
28th Sep 2019, 3:11 PM
KfirWe
KfirWe - avatar
0
9 times
28th Sep 2019, 3:12 PM
Raka Nurul Fikri
Raka Nurul Fikri - avatar
0
But option is 4 , 2, 6 , 3.
28th Sep 2019, 3:14 PM
punam gaikwad
0
maybe something wrong with the answer choice. start from i = 0, j will looping 3 times from j = 0 until j = 2. then it will repeat for i = 1 and i = 2 which give 9 repetitions in total
28th Sep 2019, 3:16 PM
Raka Nurul Fikri
Raka Nurul Fikri - avatar
0
or if the question means Inner Loop as j loop, so the answer is 3
28th Sep 2019, 3:18 PM
Raka Nurul Fikri
Raka Nurul Fikri - avatar
0
I think 3 is correct.
28th Sep 2019, 3:21 PM
punam gaikwad
0
3
29th Sep 2019, 1:54 PM
S Ka
S Ka - avatar
0
9 times
22nd Sep 2020, 7:16 AM
Neeraj singh Chowhan
Neeraj singh Chowhan - avatar