Answer:
40th and 80th visit
Explanation:
There are 100/8 = 12 eighth and 100/10 = 10 tenth visits within 100
LCM of 8 and 10 is 40
- 8 = 2*4, 10 = 2*5 ⇒ LCM(8,10) = 2*4*5 = 40
There are two 40's in 100, so this is the number of chances to get both free beverage and free appetizer.
The answer is on visit number 40 and on visit number 80