0
AclaraciĂłn
faltaron dos relacionales "<" y ">" No es lo mismo for(int i=0;i<10;i++) que for(int i=0;i<=10;i++) o if (a<=b) que if (a<b) Fail SoloLearn
3 Answers
+ 15
for(int i=0 ; i<10 ; i++){} will generate numbers less than 10 i.e 0-9
for (int i ; i<=10; i++){} will generate numbers less than equal to 10 i.e 0-10
the second one can also be written as
for(int i ; i<11 ; i++){} -----> generating numbers 0-10
0
Fail
0
exacto