Relay Payments interview question

Design a bowling score calculator