this is the question i was given "Write a program that loops through a series of integers in the range 0 to 25, determines whether each integer is even or odd, and displays the sum of the even integers and the sum of the odd integers in that range. You must use a single loop for this program.
The output should be formatted as follows:
The sum of the even integers is ___
The sum of the odd integers is ___ "
this is how far i got in code
I'm having a problem determining whats odd or evenpublic class Unit6_1 // Peter Krasinski { public static void main( String [] args ) { int i; int odd; int even; for (i = 1; i <= 25 ; i++) { } } }