int types do not support floating point decimal. try using double types, and if you desire a set precision, you can go even further and use float's.
with your calculator application, it is possible to prompt the user for a desired precision, in which case you would use float types.
http://www.cplusplus.com/reference/iostream/manipulators/setprecision/