Sdlfbnsldkafv asdlkfnlaskdncf

asdfnlasdkfnasdl;mca asdfnmasd; slkdnflsadk


printNumTwo is defined as a function within the for loop, and returns i.

i got that a while after i posted this, Thanks anyway

also am I supposed to delete the post after my probelm is resolved?

Deleting your post prevents another user from searching for it if they are having the same problem, so I would leave it up.

You can mark someone’s reply as a solution to show that you got your answer, though.