Question: Write a java program which prints all numbers that are divisible by 4 or by 7 (or both) in the range of (11,88). Hint: avoid
Write a java program which prints all numbers that are divisible by 4 or by 7 (or both) in the range of (11,88). Hint: avoid counting twice (e.g. in case of 28 which is divisible by 4 and by 7 simultaneously).
EC*: for all numbers that are divisible by 4 or by 7, calculate their summation.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
