TransUnion interview question

implement interface for calculator write code for inheritance