ArrayLists are forbidden so that's a no go. This might sound a little dumb, but how do I count the odd integers?
Type: Posts; User: coorscollector
ArrayLists are forbidden so that's a no go. This might sound a little dumb, but how do I count the odd integers?
I am a beginner and my teacher assigned us a problem where we are given an array named arr. We are supposed to create a new array that only has the odd values from arr. This is my code:
public...