Update LinearSearch.c

This commit is contained in:
sayoojkz 2018-10-30 23:21:09 +05:30 committed by GitHub
parent 326cf62a0f
commit 13afc89b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ void main(){
int a[s];
printf("Enter the contents for an array of size %d:\n", s);
for (i = 0; i < s; i++) scanf("%d", &a[i]);
for (i = 0; i < s; i++) scanf("%d", &a[i]);// accepts the values of array elements until the loop terminates//
printf("Enter the value to be searched:\n");
scanf("%d", &v);