fnplus / Algorithms-Hacktoberfest

This repository is a part of HacktoberFest, an event organised by DigitalOcean.
https://hacktoberfest.digitalocean.com/
29 stars 212 forks source link

Added Linear Search Demonstration #344

Open Bumsquest opened 5 years ago

Bumsquest commented 5 years ago

Linear Search using CPP. The user inputs the number of elements he wants to enter in the array, and then based on that he inputs the array elements. Then he enters the number to be searched. Then the array is searched linearly, for the element. If found the index of the element is returned. If not found, the user is conveyed so.

xlogix commented 5 years ago

Please move your file to the appropriate folder.