From ee3f4fb7798c6f1f4e2fada00b51739430c4aace Mon Sep 17 00:00:00 2001 From: Tanushree Aggarwal <47485195+shreetanu@users.noreply.github.com> Date: Thu, 1 Oct 2020 01:38:48 +0530 Subject: [PATCH] Create program.c Linear search program in C --- C/program-53/program.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 C/program-53/program.c diff --git a/C/program-53/program.c b/C/program-53/program.c new file mode 100644 index 00000000..9fb90c19 --- /dev/null +++ b/C/program-53/program.c @@ -0,0 +1,22 @@ +#include +int main() +{ + int a[100],n,el,i; + printf("Enter the size of the array"); + scanf("%d",&n); + printf("Enter the elements of the array"); + for(int i=0;i