Answered step by step
Verified Expert Solution
Question
1 Approved Answer
It is C++ assignment, please use bubble sort. Sort and Search Lab 1) Write a function which sorts an array of strings into alphabetic order,
It is C++ assignment, please use bubble sort.
Sort and Search Lab 1) Write a function which sorts an array of strings into alphabetic order, using the selection sort algorithm. 2) Write a function which searches for a string in a sorted array, using a binary search 3) Write a main program which tests these functions as follows: .Create an array of strings and initialize it with these names, in the order shown: Wolfe Ali Nguyen Michalski Griffin Sanchez Rubin Taylor Johnson Moreno Rodriguez Moretti Wu Allison .Print the strings in sorted order on the console. Ask the user to input a name. .Print out the index of the name in the sorted array or 'Not foundStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started