SAP interview question

Basic Calculator and Two sum