Question: task is to complete the LinearSearch function in the provided testing framework using c# Your task is to complete the LinearSearch' function, which has been
task is to complete the LinearSearch function in the provided testing framework using c#





Your task is to complete the LinearSearch' function, which has been outlined in the form of pseudocode, in the provided test framework. Upon completing the LinearSearch function u should get output that looks like this (after pressing enter enough times) Welcone to Linear Search Denonstration The array contains the following 9 words: the quick brown junps the lazy dog he vord "the" found in position in the list ress any key to continue: he word "able" not found in the 1ist ress any key to continue: he word "over" found in position 5 in the list ress any key to continue: he vord "zebra" not found in the list ress any key to continue: he word "do" found in position 8 in the list ress any key to continue: ress any key to exit progran: lement the LinearSearch function as defined by the specification. It should take two arguments: an array of strings and a string to search for and return the position of that string in the array or -1 if the string was not found in the array If the array contains multiple copies of the search string, you should return the first position the string appears in. ote that the Main() function of the provided code is never called- only the LinearSearch () function is called in order to test your program. As a result, there is no problem is the program uses ReadKey (). However, it also means your LinearSearch) method must be public If you still have difficulties, here are some tips when writing programs for AMS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
