From d607eae61d5021c0fc42409e38346697ba56e89c Mon Sep 17 00:00:00 2001 From: Pankaj Chaudhary Date: Wed, 3 Oct 2018 12:37:26 +0530 Subject: [PATCH] Create linears.c --- Searches/linears.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Searches/linears.c diff --git a/Searches/linears.c b/Searches/linears.c new file mode 100644 index 00000000..740ad841 --- /dev/null +++ b/Searches/linears.c @@ -0,0 +1,26 @@ +#include + +int main() +{ + int a[20],i,x,n; + printf("How many elements?"); + scanf("%d",&n); + + printf("Enter array elements:\n"); + for(i=0;i