C++ program to check duplicate data in an array.

This program will check if there is any duplicate data in a given array.