a C++ program that will perform three functions based off of an input of 10 integers into an array