Bank BTPN interview question

basic algorithm logic like atm machine