- #1
SqrachMasda
- 42
- 0
i have to create a program to separate ANY number of integers into odds and evens and give back the sums of them seperately
i'm thinking to use if i%2=0 then it is even
or if i%2 is .5 then it is odd or sumthing
i haven't learned much about how to set up these loop things so i don't know how to organize it and what headerfiles to use
any body got any hints, help, or answers ?
i'm thinking to use if i%2=0 then it is even
or if i%2 is .5 then it is odd or sumthing
i haven't learned much about how to set up these loop things so i don't know how to organize it and what headerfiles to use
any body got any hints, help, or answers ?