Basic math calculations. In C++.