Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this task you need to do or include the following: Once the track information is loaded, prompt the user to enter a search string

In this task you need to do or include the following:

Once the track information is loaded, prompt the user to enter a search string (use the read_string() function from the input_functions library.

The search function should have the following prototype: search_for_track_name(tracks, search_name) where tracks is an array of tracks and search_name is the string being searched for. The function should return -1 if the track name is not found, otherwise it should return the array index of the track with that name.

Display a message indicating if the track has been found or not (this is provided in the sample code in Resources).

Make sure you test for a track that does exist and one that does not.

image text in transcribed

suce: corctine Favas Sas1airsn

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_2

Step: 3

blur-text-image_3

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

Inference Control In Statistical Databases From Theory To Practice Lncs 2316

Authors: Josep Domingo-Ferrer

2002nd Edition

3540436146, 978-3540436140

More Books

Students also viewed these Databases questions

Question

In the MCRF, Ui = 0. Why can't we assume Ui,( = 0?

Answered: 1 week ago

Question

What are some of the possible scenes from our future?

Answered: 1 week ago

Question

1. What are your creative strengths?

Answered: 1 week ago