15. Calculate sum of values, 16. Calculate product of values, 17. Exit Select an Option [1.17): 20J Error: "Sorry, Invalid option, select appropriate option from menu." Menu: Array manipulation...


15. Calculate sum of values,<br>16. Calculate product of values,<br>17. Exit<br>Select an Option [1.17): 20J<br>Error:

Extracted text: 15. Calculate sum of values, 16. Calculate product of values, 17. Exit Select an Option [1.17): 20J Error: "Sorry, Invalid option, select appropriate option from menu." Menu: Array manipulation Options 1. Initialize the array with random values, 2. Input values by user to fill the array, 3. Insert a value in specific location, 4. Modify the existing item's value, 5. Remove item from array, 6. Show all items, 7. Show specific item, 8. Locate index of item in array, 9. Locate item and it's index, 10. Rearrange items in ascending order, 11. Rearrange items in descending order, 12. Find minimum value, 13. Find maximum value, 14. Find average value, 15. Calculate sum of values, 16. Calculate product of values, 17. Exit Select an Option [1.17):_1J Array is filled with 2-digit random values. Menu: Array manipulation Options 1. Initialize the array with random values, 2. Input values by user to fill the array, 3. Insert a value in specific location, 4. Modify the existing item's value, 5. Remove item from array, 6. Show all items, 7. Show specific item, 8. Locate index of item in array, 9. Locate item and it's index, 10. Rearrange items in ascending order, 11. Rearrange items in descending order, 12. Find minimum value, 13. Find maximum value, 14. Find average value, 15. Calculate sum of values, 16. Calculate product of values, 17. Exit Select an Option [1.17]: _6J All members: 10, 98, 65, 43, 50, 70, 83, 55, 90 And so on, do needful for each service, stop execution when option 17: Exit is selected.
4. Generate the Zipped file of assignment should be submitted on CMS by due date only.<br>Programming problems<br>Design a complete C++ program that have features to manipulate the numeric values in arrays data<br>structure using the user-defined functions for each smallest unit of task. Program have the services to<br>initialize the array with random values, input values by user to fill the array, insert a value in specific<br>location, modify the existing item's value, remove item from array, show all items, show specific item,<br>locate index of item in array, locate item and itť's index, rearrange items in ascending order, rearrange<br>items in descending order, Find minimum value, find maximum value, find average value, calculate sum<br>and product of values, and display menu options, selection of option from menu.<br>It is recommended that all user defined functions for above tasks, should be in separate header file, and<br>that file used by driver program to manage all features.<br>On execution, driver part of program show the menu with all features mentioned above and show<br>prompt to select the service choice, on valid selection perform that service and display menu options<br>again to user, and this process should be repeated until the exit option is not selected. However, on<br>invalid selection of menu choice, program show error message

Extracted text: 4. Generate the Zipped file of assignment should be submitted on CMS by due date only. Programming problems Design a complete C++ program that have features to manipulate the numeric values in arrays data structure using the user-defined functions for each smallest unit of task. Program have the services to initialize the array with random values, input values by user to fill the array, insert a value in specific location, modify the existing item's value, remove item from array, show all items, show specific item, locate index of item in array, locate item and itť's index, rearrange items in ascending order, rearrange items in descending order, Find minimum value, find maximum value, find average value, calculate sum and product of values, and display menu options, selection of option from menu. It is recommended that all user defined functions for above tasks, should be in separate header file, and that file used by driver program to manage all features. On execution, driver part of program show the menu with all features mentioned above and show prompt to select the service choice, on valid selection perform that service and display menu options again to user, and this process should be repeated until the exit option is not selected. However, on invalid selection of menu choice, program show error message "Sorry, Invalid option, select appropriate option from menu.." and again show the menu to user for appropriate services. NOTE: All these features/functionalities are leamed in various leamt lectures. Hence, need to assemble different parts of functionalities codes in complete program. e.g Menu: Array manipulation Options 1. Initialize the array with random values, 2. Input values by user to fill the array, 3. Insert a value in specific location, 4. Modify the existing item's value, 5. Remove item from array, 6. Show all items, 7. Show specific item, 8. Locate index of item in array, 9. Locate item and it's index, 10. Rearrange items in ascending order, 11. Rearrange items in descending order, 12. Find minimum value, 13. Find maximum value, 14. Find average value, 15. Calculate sum of values, 16. Calculate product of values, 17. Exit Select an Option [1.17): 20J Error: "Sorry, Invalid option, select appropriate option from menu." Menu: Array manipulation Options 1. Initialize the array with random values, 2. Input values by user to fill the array, 3. Insert a value in specific location, 4. Modify the existing item's value, 5. Remove item from array, 6. Show all items, 7. Show specific item, 8. Locate index of item in array, 9. Locate item and it's index, 10. Rearrange items in ascending order, 11. Rearrange items in descending order, 12. Find minimum value, 13. Find maximum value, 14. Find average value, 15. Calculate sum of values, 16. Calculate product of values, 17. Exit
Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here