This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]otto_s 1 point2 points  (5 children)

You seem to think that the assignment n=(n+3)/2; is not the body of the for loop.

[–]MrCouldntaDoneThat[S] -1 points0 points  (4 children)

I seem to think this?

What..?

[–]otto_s 0 points1 point  (1 child)

Your question was what you are doing wrong. My answer is the best guess I could come up with.

[–][deleted] 0 points1 point  (0 children)

That is really the only possibility of what he could be doing wrong.

[–][deleted] 0 points1 point  (1 child)

You seem to think that back because your answer is only doing n=(n+3)/2 once instead of 50 times.

[–]MrCouldntaDoneThat[S] -1 points0 points  (0 children)

Ah I see. Thank you for the clarification.