Walmart Interview Question

It was a simple question of adding up change