Hi, im new to c++ and im trying to better myself..

i am trying to make a simple calculator and wanted to be able to make sure the user only can enter a int at some points and double at others....