0

We are asked to input 10 integers where in we need to display:

1. The sum of all the odd numbers

2. The sum of all the even numbers

I do not know how to make a statement and i do not know whether to use for or while and also i do not know where it just going to compute for the sum of odd or even. :(( please help. :((