Question: Write a C++ function, lastLargestIndex that takes as parameters an int array and its size and returns the index of the last occurrence of the
Write a C++ function, lastLargestIndex that takes as parameters an int array and its size and returns the index of the last occurrence of the largest element in the array. Also, write a program to test your function. Assignment Requirements: Start by analyzing the problem; use an IPO chart and pseudocode (or flowchart) to brainstorm the logic prior to start coding. Using Visual Studio code and test your program according to your pseudocode solution. Once you are satisfied with your program outcome, open a Word document and insert a cover page, include your design IPO chart, pseudocode or flowchart, C++ source code, and print screen shots of the DOS command dialog window showing your test results. Be sure to test the program at least two times to insure the program executes properly.
Insure that your C++ source code is fully documented by including source code comments.
Include a flower box, i.e. /* Programmers full name: Todays Date: Lesson number: Program purpose: */
Assignment must be submitted as a Word document.
Please also provide one picture of the screen shot in your document
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
