C++ Programming

Start with a program that allows the user to input a number of integers, and then stores them in an intarray. Write a function called maxint()that goes through the array, element by element, looking for the largest one. The function should take as arguments the address of the array and the number of elements in it, and return the index number of the largest element. The program should call this function and then display the largest element and its index number.