In which situation would it be better to use a credit card instead of cash?

A. Purchasing movie tickets

B. Purchasing groceries

C. Purchasing a computer

D. Purchasing gasoline

I'm between B and D