taking int input in c++