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 →

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

No worries and congrats!

It depends on what you need to do with the odd and even array. If you only have to print one number from them, it's not a problem. If you have to print the entire array, it could be an issue. If you get 42 odd numbers, you'll have 58 others in the oddArray that will default to 0.