write a program in java to input a number and find the sum and products of odd and numbers respectively
Answers
Answered by
0
Explanation:
Enter all the elements you want in that array. We begin from the first element and check if it is odd or even. Hence we add that number into the required addition.
Similar questions