From 88ed5c01bc4cbfc8229b57d049334561b410f7d9 Mon Sep 17 00:00:00 2001 From: Khushi Mattu <82451914+Khushi-Mattu@users.noreply.github.com> Date: Mon, 11 Oct 2021 22:11:46 +0530 Subject: [PATCH] Create oddgcd.c --- oddgcd.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 oddgcd.c diff --git a/oddgcd.c b/oddgcd.c new file mode 100644 index 0000000..0000c5a --- /dev/null +++ b/oddgcd.c @@ -0,0 +1,45 @@ +#include +int gcd_num(int arr[],int n) +{ + int gcd=arr[0]; + int j=1; + while(j