This is an EXAMPLE on how to do this..
The above code shows the following answers:
6,7,12,14,18,21,24,28,30,35,36,42,48,49,54,56,60,63,66,70,72,77,78,84,90,91,96,98
Now the bold numbers 42 and 84 are both divisbile by 6 and 7. Now If I change the || to && in the above code, the result shows only 42 and 84.
What change should I do to remove these 2 numbers from the final result?