Question: DATA STRUCTURE AND ALGORITHM Write a code that searches for a given number in an array. The code should return the index of the number
DATA STRUCTURE AND ALGORITHM
Write a code that searches for a given number in an array. The code should return the index of the number if found. otherwise, it returns.
The code should be in C++ language
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
