Question: Program needs to be written in C++ thank you Using your latest personType class from our programming assignments (A8/A9), write a menu-driven program that: 1.

 Program needs to be written in C++ thank you Using yourlatest personType class from our programming assignments (A8/A9), write a menu-driven programthat: 1. Loads into an array of personType, the 20 people storedin the attached text file. This is not part of the menu!.

Program needs to be written in C++ thank you

Using your latest personType class from our programming assignments (A8/A9), write a menu-driven program that: 1. Loads into an array of personType, the 20 people stored in the attached text file. This is not part of the menu!. You only load once. 2. Implement the following functions: Given a 1d array of persontypes, the number of elements in the array, and a target last name, return the index for the first match in the array or 1 if not found. This must be case insensitive and return a match on substrings/partial hits (i.e. "Star Wars" contains "WAR" would match). The first match, whatever it is, would be returned in that case. - int tallestPerson(arg1, arg2). Given a 1d array of persontypes and the number of elements, return the index of the tallest person. int shortestPerson(arg1, arg2). Given a 1d array of personTypes and the number of elements, return the index of the shortest person. - void selectionSort(___ list [] , int length) (Sort) Given a 1d array of personTypes and the number of elements, sort the array by height in ascending order using the selection sort. 3. Create the following menu driver. Search for a person(Print the person if found, otherwise a not found message) Print by Height (Calls the appropriate sorting algorithm and displays all the people from shortest to tallest) Quit Sabrima Maralus 662 S. Souzhampton Avence Vista, CA 92083 51.2 24 July 2017 z blie Madonald 84 Green Drive Tracy CA 95376 52.3 17 September 2014 E Tanrah Finley 9253 Linda Dr, Laguna Kique, CA 92677 49.8 13 September 2012 z Arabella Walter 7593 Wood St. Fountain Vall=y, Cz 92708 54.1 27 Apriz 2010 Kye Baird 8315 Thayeter ree, North 7119 , ch 97343 .5. 8 2 Baveriber 2008 Zdriart Sctwarla 778 Golf st. Los Aggeles, Ca 90022 50.2 11 gugt 2005 E segan kays 9104 Penngylvania St. Los gelea, CA 90034 51.5 25 actoner 2003 Trachl an Russell 320 Bedforu Lane Corona C 928B2 53 2 Barch 2003 Anya Noslev 337 Bedford Street Los Angeles, CA 90019 59.5 16 February 1991 Demi Hickman 9993 F. Hanowe Read t wermere, ch 94550 . S.. 12 Deseriber 1939

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!