Plz answer | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Plz answer

Var sum =0 For( I=4; I<8; I++) { if(I==6) { Continue; } Sum +=I } Document.write(sum);

28th Oct 2020, 7:31 AM
Vashnavi Ruthra
Vashnavi Ruthra - avatar
2 ответов
+ 1
16 First it will iterate with l = 4 Then 5 And when l = 6 it will not add to the sum Then it will iterate with l = 7 Then the loop will stop So sum would be 4+5+7 = 16 Hope It Helps You 😊
28th Oct 2020, 7:37 AM
Hacker Badshah
Hacker Badshah - avatar
0
Tq
28th Oct 2020, 8:41 AM
Vashnavi Ruthra
Vashnavi Ruthra - avatar