00:01
Hello students, here is the c+ + program that fulfills the requirement of a reading an array of a 15 integer providing a menu driven interface for the various operations and offering the option to enter another set of a number.
00:20
Where here it defines the constants as a size 15 and declares as an integer variable array of a size.
00:28
It uses the do while loop to repeatedly display a menu and process under the choice until the user decides to exit.
00:39
So inside this loop, the program displays the menu with the option 1 to 7 where option prints the element of the array, finds and prints the maximum value in the array, calculates as it also calculates the product of all the numbers in an array.
01:06
So where it calculates and prints the sum of all the numbers in an array and calculates and prints as the sum of all the numbers in an array.
01:23
And in the last it will exit the program.
01:26
So if the user choose in an invalid choice, then it will display an error with the proper.
01:32
So after processing the user's choice, the program clears the input buffer to prevent any issue when reading the user inputs...