Bank BTPN Interview Question

basic algorithm logic like atm machine