Kindly I needs simple C++ code for this program
how to check if given integer exists in array or not ?