Question: C++ (program) hey guys, im trying to complete a Computer Science Review for a Upcoming test over Array structures, howerver this last program problem in
C++ (program)
hey guys, im trying to complete a Computer Science Review for a Upcoming test over Array structures, howerver this last program problem in my review has me stumped. form what ive understood from it im supposed to create three seperate arrays holding the various students ID, Name, and Email. so im guessing that will be a string class. and then bianary sort it based on ID number( which can be randomly assigned). along with a couple of other things. if i could get someone to give me some good source code to study with some outputs to see how it all works that would be much appreciated. here is the program question below.(program needs to be in C++)
a. Create three array of 12+ students records including IDs, student names, and
the corresponding e-mail addresses, student IDs not sorted in order.
b. Sort the above data by student IDs using bubble sorting.
c. Sequential Search five IDs which are from the sorted array and a 6th ID which is not from the array.
d. Binary Search five IDs which are from the sorted array and a 6th ID which is not from the array.
e. Execution and output:
1. Display the original unsorted array of student records.
2. Display the sorted array result of student records.
3. Display the sequential search result of student records.
4. Display the binary search result of student records.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
