Question: can someone plz help me with this program it should be write in c++ Write a program that, after a list of structures is read


Write a program that, after a list of structures is read into an array from the file monsters.txt, does the following operations: 1. Prompts the user with which sorting algorithm (bubble sort algorithm or insertion sort algorithm) the array should be sorted a. bubble sort algorithm defined in bubble_sort_pseudocode.txt b. insertion sort algorithm defined in the CS115 Lab Webpage 2. Prompts the user for which feature (attack or defence) the array should be sorted 3. Sort the array and display it 4. Prompts the user for a value of the considered feature and return the position of a monster in the array a. If more than one monster has that value, you only have to show the position of only one of them b. You should use here the binary search procedure defined in the CS115 Lab Webpage TIER 1 90% marks BASE + Apply the Program Organization Principles: Separation of Interface And Implementation Data Encapsulation Design By Contract Information Hiding TIER 2 100% marks BASE + TIER 1 + 1. Keep searching for the given feature while the user wants to continue 2. If more than one monster has the given feature, display all of them 1:531 Search Done monsters_a1365c5454604d63e... U
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
