From becd52bfafa07d5d89512186b5bcc72b6b9c2ded Mon Sep 17 00:00:00 2001 From: r99wq <60706878+r99wq@users.noreply.github.com> Date: Wed, 21 Oct 2020 18:31:40 +0530 Subject: [PATCH] Create linear.c --- linear.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 linear.c diff --git a/linear.c b/linear.c new file mode 100644 index 0000000..f6c0d6e --- /dev/null +++ b/linear.c @@ -0,0 +1,26 @@ +#include + +int main() +{ + int a[20],i,x,n; + printf("enter number of elements : "); + scanf("%d",&n); + + printf("Enter array elements : "); + for(i=0;i