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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!