Complaining to the cashier is literally never a good solution to any problem. We are at the bottom of the grocery/retail food chain. We don’t care about your complaint, and we’re most likely not going to relay it to management. The only thing you’re accomplishing is making yourself a joke for that cashier and their coworkers, and possibly even other customers (or the internet, if you make it to this blog).
So please stop taking your anger out on cashiers. You’re not helping anyone.