Write a C++ program to find the largest element of a given array of integers.

Published --