C++ Program to Delete Element from Array

OUTPUT: