+ 14
Why output is 11?
it is a challenge question but I don't understand why it is 11 https://code.sololearn.com/cIAA0Esv5aQ6/?ref=app
3 Answers
+ 5
First step in loop x = 1*1, second step x = 1+2 and then multiplying x = 3*3, third step x = 9 + 2 => the loop stop 11 > 6.
+ 9
yeah. It is my mistake:) I forgotten to add 2:) Thank you very much
+ 3
You are welcome !