From 36d3cf2cd0fae3f7b74d47fa8416214a01b4ee31 Mon Sep 17 00:00:00 2001 From: mahi252001 Date: Sun, 4 Oct 2020 08:58:47 +0530 Subject: [PATCH 01/26] added readme.md.py --- Python/program-5/readme.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Python/program-5/readme.md diff --git a/Python/program-5/readme.md b/Python/program-5/readme.md new file mode 100644 index 00000000..2d1679fb --- /dev/null +++ b/Python/program-5/readme.md @@ -0,0 +1,15 @@ +PROGRAM-5 +To print the pattern in the form + 1 + 1 2 1 2 + 1 2 3 1 2 3 + 1 2 3 4 1 2 3 4 +1 2 3 4 5 1 2 3 4 5 + + AND + +1 +2 2 +3 3 3 +4 4 4 4 +5 5 5 5 5 \ No newline at end of file From 5b6a5e81eb31d0c28f646a98de3cc50fb98b1b8e Mon Sep 17 00:00:00 2001 From: mahi252001 Date: Sun, 4 Oct 2020 20:13:27 +0530 Subject: [PATCH 02/26] added readme.md.py --- Python/program-5/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/program-5/readme.md b/Python/program-5/readme.md index 2d1679fb..45471789 100644 --- a/Python/program-5/readme.md +++ b/Python/program-5/readme.md @@ -1,12 +1,12 @@ PROGRAM-5 -To print the pattern in the form +To print the given pattern(pattern.py) 1 1 2 1 2 1 2 3 1 2 3 1 2 3 4 1 2 3 4 1 2 3 4 5 1 2 3 4 5 - AND + AND(pattern1.py) 1 2 2 From 73788a230f72055779365d3018ee6b0b32f1aa90 Mon Sep 17 00:00:00 2001 From: mahi252001 Date: Sun, 4 Oct 2020 22:01:57 +0530 Subject: [PATCH 03/26] added readme.md --- Python/program-6/readme.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Python/program-6/readme.md diff --git a/Python/program-6/readme.md b/Python/program-6/readme.md new file mode 100644 index 00000000..61af2e38 --- /dev/null +++ b/Python/program-6/readme.md @@ -0,0 +1,6 @@ +program to print the given pattern +1 +2 2 +3 3 3 +4 4 4 4 +5 5 5 5 5 \ No newline at end of file From c6fcd94de80aaac226d7841c93fad734591759f9 Mon Sep 17 00:00:00 2001 From: mahi252001 Date: Sun, 4 Oct 2020 22:06:04 +0530 Subject: [PATCH 04/26] removed pattern1.py --- Python/program-5/pattern1.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 Python/program-5/pattern1.py diff --git a/Python/program-5/pattern1.py b/Python/program-5/pattern1.py deleted file mode 100644 index 2011dd0f..00000000 --- a/Python/program-5/pattern1.py +++ /dev/null @@ -1,11 +0,0 @@ -#pattern -for i in range(1,6): - for j in range(1,6-i): - print(" ",end=" ") - for k in range(1,i+1): - print(k,end=" ") - if i>1: - for l in range(1,i+1): - print(l,end=" ") - print() - \ No newline at end of file From c05a5b021fef1467bf77bf75ae0e7ad194393cf6 Mon Sep 17 00:00:00 2001 From: mahi252001 Date: Sun, 4 Oct 2020 22:08:07 +0530 Subject: [PATCH 05/26] modified readme.md --- Python/program-5/readme.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Python/program-5/readme.md b/Python/program-5/readme.md index 45471789..49831857 100644 --- a/Python/program-5/readme.md +++ b/Python/program-5/readme.md @@ -1,15 +1,7 @@ PROGRAM-5 To print the given pattern(pattern.py) - 1 + 1 1 2 1 2 1 2 3 1 2 3 1 2 3 4 1 2 3 4 1 2 3 4 5 1 2 3 4 5 - - AND(pattern1.py) - -1 -2 2 -3 3 3 -4 4 4 4 -5 5 5 5 5 \ No newline at end of file From 594a6b4f98818da66e87ea38a363fb03f0c45f97 Mon Sep 17 00:00:00 2001 From: just-tech20 <62553925+just-tech20@users.noreply.github.com> Date: Mon, 5 Oct 2020 01:54:30 +0530 Subject: [PATCH 06/26] find prime numbers between numbers added a program to find the prime numbers between the numbers --- C/Program-61/program.c | 58 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 C/Program-61/program.c diff --git a/C/Program-61/program.c b/C/Program-61/program.c new file mode 100644 index 00000000..0e7c906c --- /dev/null +++ b/C/Program-61/program.c @@ -0,0 +1,58 @@ +/* + This Program calulates all the prime between the range of numbers + includes the numbers which is provided. + + For e.g: 2 7 + Prime Numbers are : 2 3 5 7 +*/ + +#include +#include + +char primecheck(int); + +int main() +{ + int i,num1,num2,cases; + char ans; + printf("Enter Number of Test Cases: "); + scanf("%d",&cases); + while (cases--) + { + printf("Enter First Number: "); + scanf("%d",&num1); + printf("Enter Second Number: "); + scanf("%d",&num2); + + printf("Answer: "); + for(i=num1;i<=num2;i++) + { + ans = primecheck(i); + if (ans == 'y') + printf("%d ",i); + } + printf("\n"); + } + return 0; +} + +char primecheck(int num) +{ + int i; + if (num == 0 || num == 1) + return 'n'; + else + { + for(i=(num-1);i>1;i--) + { + if(num%i == 0) + { + return 'n'; + } + else + continue; + } + return 'y'; + } + +} \ No newline at end of file From 62f55330263be72a1d4767665b3af5ef04f6a866 Mon Sep 17 00:00:00 2001 From: just-tech20 <62553925+just-tech20@users.noreply.github.com> Date: Mon, 5 Oct 2020 01:56:20 +0530 Subject: [PATCH 07/26] Update README.md added program to find the prime number between the number --- C/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/C/README.md b/C/README.md index 936b65b6..f5d269b5 100644 --- a/C/README.md +++ b/C/README.md @@ -62,6 +62,7 @@ | Program-58 | Program to find the sum of elements between indexes | | Program-59 | Program to Search Students details in a list | | Program-60 | Program to print kaprekar number in a given range | +| Program-61 | Program to find the all the prime numbers between the numbers | From 178b1141f3fa2a735f3b92a2b6e8d9094b9e609b Mon Sep 17 00:00:00 2001 From: mahi252001 Date: Mon, 5 Oct 2020 08:45:00 +0530 Subject: [PATCH 08/26] renamed the file --- Python/{program-6 => program-10}/pattern2.py | 0 Python/{program-6 => program-10}/readme.md | 0 Python/{program-5 => program-9}/pattern.py | 0 Python/{program-5 => program-9}/readme.md | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename Python/{program-6 => program-10}/pattern2.py (100%) rename Python/{program-6 => program-10}/readme.md (100%) rename Python/{program-5 => program-9}/pattern.py (100%) rename Python/{program-5 => program-9}/readme.md (100%) diff --git a/Python/program-6/pattern2.py b/Python/program-10/pattern2.py similarity index 100% rename from Python/program-6/pattern2.py rename to Python/program-10/pattern2.py diff --git a/Python/program-6/readme.md b/Python/program-10/readme.md similarity index 100% rename from Python/program-6/readme.md rename to Python/program-10/readme.md diff --git a/Python/program-5/pattern.py b/Python/program-9/pattern.py similarity index 100% rename from Python/program-5/pattern.py rename to Python/program-9/pattern.py diff --git a/Python/program-5/readme.md b/Python/program-9/readme.md similarity index 100% rename from Python/program-5/readme.md rename to Python/program-9/readme.md From de2518112281a828c83c1f57489a7a55b3171c2b Mon Sep 17 00:00:00 2001 From: mahi252001 Date: Mon, 5 Oct 2020 09:03:25 +0530 Subject: [PATCH 09/26] renamed the file --- Python/{program-9 => program-12}/pattern.py | 0 Python/{program-9 => program-12}/readme.md | 0 Python/{program-10 => program-13}/pattern2.py | 0 Python/{program-10 => program-13}/readme.md | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename Python/{program-9 => program-12}/pattern.py (100%) rename Python/{program-9 => program-12}/readme.md (100%) rename Python/{program-10 => program-13}/pattern2.py (100%) rename Python/{program-10 => program-13}/readme.md (100%) diff --git a/Python/program-9/pattern.py b/Python/program-12/pattern.py similarity index 100% rename from Python/program-9/pattern.py rename to Python/program-12/pattern.py diff --git a/Python/program-9/readme.md b/Python/program-12/readme.md similarity index 100% rename from Python/program-9/readme.md rename to Python/program-12/readme.md diff --git a/Python/program-10/pattern2.py b/Python/program-13/pattern2.py similarity index 100% rename from Python/program-10/pattern2.py rename to Python/program-13/pattern2.py diff --git a/Python/program-10/readme.md b/Python/program-13/readme.md similarity index 100% rename from Python/program-10/readme.md rename to Python/program-13/readme.md From ef03f5057b56be16bb5dbb9c447bfa7384f697b4 Mon Sep 17 00:00:00 2001 From: Akashkpdroid <71496133+Akashkpdroid@users.noreply.github.com> Date: Mon, 5 Oct 2020 10:41:08 +0530 Subject: [PATCH 10/26] Very short way to find vowels find vowels in string fast process --- Java/program-3/program.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Java/program-3/program.java b/Java/program-3/program.java index a108adc6..95be6346 100644 --- a/Java/program-3/program.java +++ b/Java/program-3/program.java @@ -8,10 +8,10 @@ public static void main(String args[]) int v=0; for(int i=0;i Date: Mon, 5 Oct 2020 11:23:45 +0530 Subject: [PATCH 11/26] added program --- Python/program-17/Bitodec.py | 14 ++++++++++++++ Python/program-17/readme.md | 1 + 2 files changed, 15 insertions(+) create mode 100644 Python/program-17/Bitodec.py create mode 100644 Python/program-17/readme.md diff --git a/Python/program-17/Bitodec.py b/Python/program-17/Bitodec.py new file mode 100644 index 00000000..c64a9c0b --- /dev/null +++ b/Python/program-17/Bitodec.py @@ -0,0 +1,14 @@ +#Python Program to Convert Decimal to Binary + +def decimalToBinary(num): + """This function converts decimal number + to binary and prints it""" + if num > 1: + decimalToBinary(num // 2) + print(num % 2, end='') + + +# decimal number +number = int(input("Enter any decimal number: ")) + +decimalToBinary(number) \ No newline at end of file diff --git a/Python/program-17/readme.md b/Python/program-17/readme.md new file mode 100644 index 00000000..a217e327 --- /dev/null +++ b/Python/program-17/readme.md @@ -0,0 +1 @@ +Program to convert Binary to Decimal \ No newline at end of file From 69f8d3ef282fb7287d6af61be75c7790ac0025bc Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Tue, 6 Oct 2020 23:35:23 +0530 Subject: [PATCH 12/26] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index a635edd2..7ed0e521 100644 --- a/readme.md +++ b/readme.md @@ -3,7 +3,7 @@ -## This repo is an awesome collection of basic programs in different programming languages⚡ +## This Repository is an awesome collection of basic programs in different programming languages⚡
From 478f205c5ff757e242d12acdce948dd2823258cc Mon Sep 17 00:00:00 2001 From: Mgeethabhargava Date: Wed, 7 Oct 2020 05:54:32 +0530 Subject: [PATCH 13/26] New javascript programs --- Javascript/program-10/program-10.html | 15 +++++++++++++++ Javascript/program-10/read.md | 4 ++++ Javascript/program-9/program-9.html | 16 ++++++++++++++++ Javascript/program-9/read.md | 4 ++++ 4 files changed, 39 insertions(+) create mode 100644 Javascript/program-10/program-10.html create mode 100644 Javascript/program-10/read.md create mode 100644 Javascript/program-9/program-9.html create mode 100644 Javascript/program-9/read.md diff --git a/Javascript/program-10/program-10.html b/Javascript/program-10/program-10.html new file mode 100644 index 00000000..6213daf3 --- /dev/null +++ b/Javascript/program-10/program-10.html @@ -0,0 +1,15 @@ + + + + +

My First Web Page

+

My First Paragraph.

+ +

+ + + + + \ No newline at end of file diff --git a/Javascript/program-10/read.md b/Javascript/program-10/read.md new file mode 100644 index 00000000..b6ac8af1 --- /dev/null +++ b/Javascript/program-10/read.md @@ -0,0 +1,4 @@ +# Program-10 + +## This is a javascript program for javascript writing into an html element + diff --git a/Javascript/program-9/program-9.html b/Javascript/program-9/program-9.html new file mode 100644 index 00000000..6c8a1d04 --- /dev/null +++ b/Javascript/program-9/program-9.html @@ -0,0 +1,16 @@ + + + + +

My First Web Page

+

My first paragraph.

+ +

Never call document.write after the document has finished loading. +It will overwrite the whole document.

+ + + + + \ No newline at end of file diff --git a/Javascript/program-9/read.md b/Javascript/program-9/read.md new file mode 100644 index 00000000..cb69f65a --- /dev/null +++ b/Javascript/program-9/read.md @@ -0,0 +1,4 @@ +# Program-9 + +## This is a javascript program for javascript writing into html output + From 949677ef134a5221985558b8e13cab4cdf7cc4a8 Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:06:38 +0530 Subject: [PATCH 14/26] Rename Python/program-12/pattern.py to Python/program-17/pattern.py --- Python/{program-12 => program-17}/pattern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Python/{program-12 => program-17}/pattern.py (94%) diff --git a/Python/program-12/pattern.py b/Python/program-17/pattern.py similarity index 94% rename from Python/program-12/pattern.py rename to Python/program-17/pattern.py index e067d825..61155765 100644 --- a/Python/program-12/pattern.py +++ b/Python/program-17/pattern.py @@ -7,4 +7,4 @@ for l in range(1,i+1): print(l,end=" ") print() - \ No newline at end of file + From 44212d8e5b63f3a43a7578392a2a1785dded1913 Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:06:55 +0530 Subject: [PATCH 15/26] Rename Python/program-12/readme.md to Python/program-17/readme.md --- Python/{program-12 => program-17}/readme.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Python/{program-12 => program-17}/readme.md (100%) diff --git a/Python/program-12/readme.md b/Python/program-17/readme.md similarity index 100% rename from Python/program-12/readme.md rename to Python/program-17/readme.md From 74d2e82a78e5d2898958a94794ac9b55dcaea849 Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:07:21 +0530 Subject: [PATCH 16/26] Rename pattern.py to program.py --- Python/program-17/{pattern.py => program.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Python/program-17/{pattern.py => program.py} (100%) diff --git a/Python/program-17/pattern.py b/Python/program-17/program.py similarity index 100% rename from Python/program-17/pattern.py rename to Python/program-17/program.py From 9b2c3ad6ad35d144d1b577222848ae4e65c1795d Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:07:38 +0530 Subject: [PATCH 17/26] Update readme.md --- Python/program-17/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/program-17/readme.md b/Python/program-17/readme.md index 49831857..bbaed778 100644 --- a/Python/program-17/readme.md +++ b/Python/program-17/readme.md @@ -1,4 +1,4 @@ -PROGRAM-5 +PROGRAM-17 To print the given pattern(pattern.py) 1 1 2 1 2 From b0aa704a1b16e50f923c0f8398d68d328757788c Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:08:00 +0530 Subject: [PATCH 18/26] Rename Python/program-13/readme.md to Python/program-18/readme.md --- Python/{program-13 => program-18}/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Python/{program-13 => program-18}/readme.md (85%) diff --git a/Python/program-13/readme.md b/Python/program-18/readme.md similarity index 85% rename from Python/program-13/readme.md rename to Python/program-18/readme.md index 61af2e38..6da7659a 100644 --- a/Python/program-13/readme.md +++ b/Python/program-18/readme.md @@ -3,4 +3,4 @@ program to print the given pattern 2 2 3 3 3 4 4 4 4 -5 5 5 5 5 \ No newline at end of file +5 5 5 5 5 From 5af3237fae367a5bb73494d9820591ffee060cb0 Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:08:23 +0530 Subject: [PATCH 19/26] Rename Python/program-13/pattern2.py to Python/program-18/program.py --- Python/{program-13/pattern2.py => program-18/program.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Python/{program-13/pattern2.py => program-18/program.py} (85%) diff --git a/Python/program-13/pattern2.py b/Python/program-18/program.py similarity index 85% rename from Python/program-13/pattern2.py rename to Python/program-18/program.py index 44eb7a2f..456583e0 100644 --- a/Python/program-13/pattern2.py +++ b/Python/program-18/program.py @@ -1,4 +1,4 @@ for i in range(1,6): for j in range(1,i+1): print(i,end=' ') - print() \ No newline at end of file + print() From 21198e4326da4c75c3f859f8df8067ff98fffc65 Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:20:50 +0530 Subject: [PATCH 20/26] Rename Python/program-17/Bitodec.py to Python/program-18/program.py --- Python/{program-17/Bitodec.py => program-18/program.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Python/{program-17/Bitodec.py => program-18/program.py} (92%) diff --git a/Python/program-17/Bitodec.py b/Python/program-18/program.py similarity index 92% rename from Python/program-17/Bitodec.py rename to Python/program-18/program.py index c64a9c0b..80444473 100644 --- a/Python/program-17/Bitodec.py +++ b/Python/program-18/program.py @@ -11,4 +11,4 @@ def decimalToBinary(num): # decimal number number = int(input("Enter any decimal number: ")) -decimalToBinary(number) \ No newline at end of file +decimalToBinary(number) From 2dbc66ff36b88da6359da445c26dc944c5525726 Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:21:05 +0530 Subject: [PATCH 21/26] Rename Python/program-17/readme.md to Python/program-18/readme.md --- Python/program-17/readme.md | 1 - Python/program-18/readme.md | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 Python/program-17/readme.md create mode 100644 Python/program-18/readme.md diff --git a/Python/program-17/readme.md b/Python/program-17/readme.md deleted file mode 100644 index a217e327..00000000 --- a/Python/program-17/readme.md +++ /dev/null @@ -1 +0,0 @@ -Program to convert Binary to Decimal \ No newline at end of file diff --git a/Python/program-18/readme.md b/Python/program-18/readme.md new file mode 100644 index 00000000..28cc94e5 --- /dev/null +++ b/Python/program-18/readme.md @@ -0,0 +1 @@ +Program to convert Binary to Decimal From 112564691d6ee37e74a3ed1954828a1a7d093211 Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:22:10 +0530 Subject: [PATCH 22/26] Rename Python/program-18/program.py to Python/program-19/program.py --- Python/{program-18 => program-19}/program.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Python/{program-18 => program-19}/program.py (100%) diff --git a/Python/program-18/program.py b/Python/program-19/program.py similarity index 100% rename from Python/program-18/program.py rename to Python/program-19/program.py From 2db2b0ef43c82626952a5f6af0940dd0f1ff73b6 Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:22:28 +0530 Subject: [PATCH 23/26] Rename Python/program-18/readme.md to Python/program-19/readme.md --- Python/{program-18 => program-19}/readme.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Python/{program-18 => program-19}/readme.md (100%) diff --git a/Python/program-18/readme.md b/Python/program-19/readme.md similarity index 100% rename from Python/program-18/readme.md rename to Python/program-19/readme.md From 876a80d45de8f19d2bd2430a7251366f11e03eb7 Mon Sep 17 00:00:00 2001 From: Swasthik Shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 7 Oct 2020 12:08:08 +0530 Subject: [PATCH 24/26] Update readme.md --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index 7ed0e521..0a5ec0fd 100644 --- a/readme.md +++ b/readme.md @@ -16,6 +16,7 @@ ## ⚠️Points to note before you start contributing - Check whether the program you are going to add already exists in the repo or not. Make sure you're not repeting any program. +- Do add readme.md file for explaining the question , input and output for each program. - Please go through [How to contribute](#contribute) and do accordingly to make a smooth contribution.

From e8afe45d531a20fcfb60dcd69e253859fd9af64b Mon Sep 17 00:00:00 2001 From: Tanushree Aggarwal <47485195+shreetanu@users.noreply.github.com> Date: Wed, 7 Oct 2020 16:05:38 +0530 Subject: [PATCH 25/26] Program.cpp A program in C++ that finds the Greatest common divisor or Highest common factor of two numbers. --- C++/Program-6/program.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 C++/Program-6/program.cpp diff --git a/C++/Program-6/program.cpp b/C++/Program-6/program.cpp new file mode 100644 index 00000000..23a755c2 --- /dev/null +++ b/C++/Program-6/program.cpp @@ -0,0 +1,16 @@ +#include +using namespace std; +int gcd(int x,int y) +{ + if(y==0) + return x; + return gcd(y,x%y); +} + +int main() { + cout<<"enter the numbers\n"; + int x,y; + cin>>x>>y; + cout<<"The GCD is "< Date: Wed, 7 Oct 2020 16:10:20 +0530 Subject: [PATCH 26/26] Readme.md --- C++/Program-6/Readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 C++/Program-6/Readme.md diff --git a/C++/Program-6/Readme.md b/C++/Program-6/Readme.md new file mode 100644 index 00000000..00f303b9 --- /dev/null +++ b/C++/Program-6/Readme.md @@ -0,0 +1,10 @@ +Program 6 + +Write a program to find the greatest common divisor of two number. + +Variable description-- + +x=Holds the first number + +y=Holds the second number +