A cash register or till is a mechanical or electronic device for calculating and recording sales transactions,…