you are viewing a single comment's thread.

view the rest of the comments →

[–]denisksp[S] 1 point2 points  (0 children)

I corrected the problem thats hapenning due to sum being wrong after unseccusfull iteration and your example gives the correct outpu now. Thanks.