Is it better to eat then burn the calories doing exercise, o

Options
So I have a choice at the moment of either having a snack at work (under 100 calories) and then burning off these calories in the gym, or skippping the snack and skipping the exercise. Which, if either, is better?