Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Linear Search using CPP. #290

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added Linear Search using CPP. #290

wants to merge 1 commit into from

Conversation

Bumsquest
Copy link

@Bumsquest Bumsquest commented Oct 31, 2019

The user enters the range of the array, enters the array elements, enters the number to be searched. Then a linear search is performed for the number to be searched. If found, index is returned, else a "Not found" message is printed.

Submission Checklist

  • Your pull request targets the master branch of the repository.
  • You have only one commit (if not, squash them into one commit).
  • You have read the Contributing guidelines and your changes follow them.

Type of Change

  • Bug fix
  • New implementation

PR Description

Issue #[Add issue number here.]

The user enters the range of the array, enters the array elements, enters the number to be searched. Then a linear search is performed for the number to be searched. If found, index is returned, else a "Not found" message is printed.
@Bumsquest Bumsquest closed this Oct 31, 2019
@Bumsquest Bumsquest reopened this Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant