Linear Search implementation with Random No’s

Hi Friends,

Here is a small example of Linear search using random Numbers

Here firstly we generate 10 random numbers which is stored in an array,

then using Linear Search we search whether the taken input number exists in array or not.

 

Please free to comment for any clarification or doubts.

If you like please share and subscribe 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s