From 47eed1d00ff71e6051eec3d64d91b0d58eb0bc05 Mon Sep 17 00:00:00 2001 From: jainvaidehi <54447956+jainvaidehi@users.noreply.github.com> Date: Thu, 1 Oct 2020 01:08:19 +0530 Subject: [PATCH 1/2] Created program --- C/Program-52/program.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 C/Program-52/program.c diff --git a/C/Program-52/program.c b/C/Program-52/program.c new file mode 100644 index 00000000..0d916d88 --- /dev/null +++ b/C/Program-52/program.c @@ -0,0 +1,39 @@ +#include + +int main() { + int n;//number of elements of array; + printf("Enter the number of elements"); + scanf("%d",&n); + int arr[n]; + printf("\nEnter the elements"); + for(int i=0;i Date: Thu, 1 Oct 2020 01:15:00 +0530 Subject: [PATCH 2/2] Created README --- C/Program-52/README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 C/Program-52/README.md diff --git a/C/Program-52/README.md b/C/Program-52/README.md new file mode 100644 index 00000000..e521142d --- /dev/null +++ b/C/Program-52/README.md @@ -0,0 +1,4 @@ +Program 52 + +Write a program to find whether the given element is present in the array or not. +