How do you tell someone they got a bad breath?

It is not always easy to tell someone when they have bad breath or even bad odour but sometimes, it just has to be said.

I tend to just tell someone if they do as I would feel bad if I knew and didn't say anything to them.
 
I think it needs to be approached with care like saying something like, "Hey, I've noticed you have bad breath sometimes. I care about you and want to help. Maybe we could pick up some mints or gum together. This way, you're showing concern without being judgmental.