Answered step by step
Verified Expert Solution
Link Copied!

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. image text in transcribed

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 found

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions