Question: Write a method Search that takes input of an numerical array A of size n and a specific value key. It returns the index of

Write a method Search that takes input of an numerical array A of size n and a specific value key. It returns the index of the first element in A that equals to key, or. returns -1 if none of the elements of A is equal to key. b) Write a C# console application that reads the scores of 26 students. It then calls the method Search and displays if there is anyone gets 100%. The display message should look like this: Students #5 earns 100%. Students #19 earns 100%. Students #21 earns 100%. Or this: None of the students earn 100%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
