Question: JAVA LANGUAGE Write a program that sums the integers in the range of 10 to 100 (inclusive) if the integer is evenly divisible by 4
JAVA LANGUAGE
Write a program that sums the integers in the range of 10 to 100 (inclusive) if the integer is evenly divisible by 4 or 6, but not both. For example, 16 should be part of the sum and 18 should be part of the sum, but not 24. Print the overall sum.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
