JPMorganChase Interview Question

implement a simple math calculator