Question: Im using C++ on Codeblocks Start with a program that allows the user to input a number of integers, and then stores them in an
Im using C++ on Codeblocks
Start with a program that allows the user to input a number of integers, and then stores them in an int array. 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
