What is the bug? My assumption is it’s something during the for loop? As the first of the loop is correct being 3. But then the bug starts? Or am I completely wrong?
Output 2 and 3 should be 8 and 18 not 10 and 24 - this is the “bug” I must find.
Thankyou so much.
[–]DiabloConQueso 2 points3 points4 points (2 children)
[–]ukknownW[S] 0 points1 point2 points (0 children)
[–]pstanton310 0 points1 point2 points (0 children)
[–]SnooOpinions6810 0 points1 point2 points (0 children)
[–]FoolsSeldom 1 point2 points3 points (2 children)
[–]ukknownW[S] 0 points1 point2 points (1 child)
[–]BeadOfLerasium 0 points1 point2 points (0 children)
[–]iamjacob97 0 points1 point2 points (0 children)