After you have written a C++ program that selects and displays the maximum value of five numbers to be entered when the program is executed.
(Hint: Using a for loop with both a cin and if statement inside the loop)
how can I modify the program so that it displays both the maximum value and the position in the input set of numbers where the maximum occurs.
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-54302.pdf
Comments
Leave a comment