One integer is chosen from the numbers 1 to 100. The total number of integers from which a choice is made is 100. The number of integers divisible in this set of numbers is 16. The number of integers divisible by 8 is 12. The number of integers divisible by both 6 and 8 is 4. The number of integers in the set of 100 numbers that meets the given criterion is 16 + 12 - 4 = 24
24/100 = 0.24
This gives the probability that an integer chosen from the set of integers from 1 to 100 that is divisible by 6 or 8 as 0.24.
Maybe this is just a quibble, but it seems to me that any integer would be divisible by 6 or 8 if the requirement was not for a positive whole number (integer) as the product. For instance, 30 divided by 8 is 3.75. 6 divided by 8 is .75.