Write function named ” isTheLastNumberTheMax ” that accepts an…

Question Answered step-by-step Write function named ” isTheLastNumberTheMax ” that accepts an… Write function named “isTheLastNumberTheMax” that accepts an array of integers and its size. It will return true if the last number in the array is the maximum number in that array and false otherwise. In addition, it also returns another boolean to indicate whether this list contains more than one maximum value.For example, if this is called with the array of {10, 20, 30, 40, 50}, it will return true and falseIf this is called with the array of {50, 10, 20, 30, 40, 50}, it will return true and true. Computer Science Engineering & Technology C++ Programming Share QuestionEmailCopy link Comments (0)