//////////////////////////////////// // BELOW IS A RUN FOR THE PROGRAM //////////////////////////////////// ============================== What would you like to do? ============================== 1) Add strings to array 2) Print array 3) Find string or substring in array 4) Remove string based on location within array 5) Exit Menu choice #: 1 --------------------------------------------------------------------------- Type a string to be added to the array then press enter to add another. To stop adding strings, type '0' and press enter. --------------------------------------------------------------------------- Enter string: The Enter string: rabbit Enter string: was Enter string: a Enter string: bouncy Enter string: boy Enter string: 0 ============================== What would you like to do? ============================== 1) Add strings to array 2) Print array 3) Find string or substring in array 4) Remove string based on location within array 5) Exit Menu choice #: 2 --------------------------------------------------------------- The current string array (shown with numbers for reference) --------------------------------------------------------------- 1. The 2. rabbit 3. was 4. a 5. bouncy 6. boy ============================== What would you like to do? ============================== 1) Add strings to array 2) Print array 3) Find string or substring in array 4) Remove string based on location within array 5) Exit Menu choice #: 3 --------------------------------------------- Enter a string or substring to search for --------------------------------------------- String/substring: unc String/substring 'unc' was found! ============================== What would you like to do? ============================== 1) Add strings to array 2) Print array 3) Find string or substring in array 4) Remove string based on location within array 5) Exit Menu choice #: 3 --------------------------------------------- Enter a string or substring to search for --------------------------------------------- String/substring: me String/substring 'me' was not found. ============================== What would you like to do? ============================== 1) Add strings to array 2) Print array 3) Find string or substring in array 4) Remove string based on location within array 5) Exit Menu choice #: 2 --------------------------------------------------------------- The current string array (shown with numbers for reference) --------------------------------------------------------------- 1. The 2. rabbit 3. was 4. a 5. bouncy 6. boy ============================== What would you like to do? ============================== 1) Add strings to array 2) Print array 3) Find string or substring in array 4) Remove string based on location within array 5) Exit Menu choice #: 4 ---------------------------------------------------------------- Enter the number of a string in the array to remove (1 - 150) ---------------------------------------------------------------- Index number: 5 The removed string was: 'bouncy' ============================== What would you like to do? ============================== 1) Add strings to array 2) Print array 3) Find string or substring in array 4) Remove string based on location within array 5) Exit Menu choice #: 2 --------------------------------------------------------------- The current string array (shown with numbers for reference) --------------------------------------------------------------- 1. The 2. rabbit 3. was 4. a 5. boy ============================== What would you like to do? ============================== 1) Add strings to array 2) Print array 3) Find string or substring in array 4) Remove string based on location within array 5) Exit Menu choice #: 5 ~ Goodbye! ~ C:\Users\eclip\Source\Repos\cst116-lab7-JosephTenEyck\Debug\CST116F2021-Lab7.exe (process 7732) exited with code 0. To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. Press any key to close this window . . .