Question: Write a Java program that uses one for for-loop to compute the sum of even numbers as well as the sum of odd numbers between

Write a Java program that uses one for for-loop to compute the sum of even numbers as well as the sum of odd numbers between 1-100 and print out results. Use 2 variables to store your results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
