a c++ course task in Visual Studio - CLI calculator