+ 1
i=4,sum=0 sum=0+4; i=5,sum=4 sum=4+5; i=6 is skipped over and i=7 doesnt pass the test neither of em gets to be added to sum, loops ends. so sum=9
15th Dec 2022, 11:39 AM
arturop200
arturop200 - avatar
+ 1
then share the code link, there might be something else
16th Dec 2022, 8:31 AM
arturop200
arturop200 - avatar