A gas pump registers the amount and cost of gas as a person fills the gas tank.