Simple Calculator written in c++