Chaining: Calculator

A chaining calculator is a class with methods for arithmetic operations, enabling successive method calls to be linked together in one continuous chain.

Asked in Microsoft frontend interviews