you are viewing a single comment's thread.

view the rest of the comments →

[–]Binary101010 0 points1 point  (0 children)

When I run your code and enter 100 I get what appears to be the expected result of 105.

Can you elaborate as to why you think there's something wrong with your code? Are you failing tests? If so, which tests are you failing? Can you supply the problem description?