From f0bb982627bbd17d36f0bb665bc5581ab37f47a3 Mon Sep 17 00:00:00 2001 From: KylerSmith Date: Wed, 12 Jul 2017 17:09:15 -0700 Subject: [PATCH] File clean-up --- .../variance.c | 0 Binary_To_Decimal.c => conversions/binary_to_decimal.c | 0 Binning.c => misc/Binning.c | 0 LongestSubSequence.c => misc/LongestSubSequence.c | 0 QUARTILE.C => misc/QUARTILE.c | 0 isArmstrong.C => misc/isArmstrong.c | 0 palindrome.c => misc/palindrome.c | 0 Strong number.c => misc/strongNumber.c | 9 +++++++++ BinarySearch.c => searching/BinarySearch.c | 0 otherBinarySearch.c => searching/otherBinarySearch.c | 0 Bogo Sort.c => sorting/Bogo_Sort.c | 0 BubbleSort.c => sorting/BubbleSort.c | 0 InsertionSort.c => sorting/InsertionSort.c | 0 OtherBubbleSort.c => sorting/OtherBubbleSort.c | 0 SelectionSort.c => sorting/SelectionSort.c | 0 15 files changed, 9 insertions(+) rename variance.c => Computer Oriented Statistical Methods/variance.c (100%) rename Binary_To_Decimal.c => conversions/binary_to_decimal.c (100%) rename Binning.c => misc/Binning.c (100%) rename LongestSubSequence.c => misc/LongestSubSequence.c (100%) rename QUARTILE.C => misc/QUARTILE.c (100%) rename isArmstrong.C => misc/isArmstrong.c (100%) rename palindrome.c => misc/palindrome.c (100%) rename Strong number.c => misc/strongNumber.c (70%) rename BinarySearch.c => searching/BinarySearch.c (100%) rename otherBinarySearch.c => searching/otherBinarySearch.c (100%) rename Bogo Sort.c => sorting/Bogo_Sort.c (100%) rename BubbleSort.c => sorting/BubbleSort.c (100%) rename InsertionSort.c => sorting/InsertionSort.c (100%) rename OtherBubbleSort.c => sorting/OtherBubbleSort.c (100%) rename SelectionSort.c => sorting/SelectionSort.c (100%) diff --git a/variance.c b/Computer Oriented Statistical Methods/variance.c similarity index 100% rename from variance.c rename to Computer Oriented Statistical Methods/variance.c diff --git a/Binary_To_Decimal.c b/conversions/binary_to_decimal.c similarity index 100% rename from Binary_To_Decimal.c rename to conversions/binary_to_decimal.c diff --git a/Binning.c b/misc/Binning.c similarity index 100% rename from Binning.c rename to misc/Binning.c diff --git a/LongestSubSequence.c b/misc/LongestSubSequence.c similarity index 100% rename from LongestSubSequence.c rename to misc/LongestSubSequence.c diff --git a/QUARTILE.C b/misc/QUARTILE.c similarity index 100% rename from QUARTILE.C rename to misc/QUARTILE.c diff --git a/isArmstrong.C b/misc/isArmstrong.c similarity index 100% rename from isArmstrong.C rename to misc/isArmstrong.c diff --git a/palindrome.c b/misc/palindrome.c similarity index 100% rename from palindrome.c rename to misc/palindrome.c diff --git a/Strong number.c b/misc/strongNumber.c similarity index 70% rename from Strong number.c rename to misc/strongNumber.c index 5a161d75..9b5d3527 100644 --- a/Strong number.c +++ b/misc/strongNumber.c @@ -1,4 +1,13 @@ +/** + * Modified on 07/12/2017, Kyler Smith + * + * A number is called strong number if sum of the + * factorial of its digit is equal to number itself. + */ + #include + + void strng(int a) { int j=a; diff --git a/BinarySearch.c b/searching/BinarySearch.c similarity index 100% rename from BinarySearch.c rename to searching/BinarySearch.c diff --git a/otherBinarySearch.c b/searching/otherBinarySearch.c similarity index 100% rename from otherBinarySearch.c rename to searching/otherBinarySearch.c diff --git a/Bogo Sort.c b/sorting/Bogo_Sort.c similarity index 100% rename from Bogo Sort.c rename to sorting/Bogo_Sort.c diff --git a/BubbleSort.c b/sorting/BubbleSort.c similarity index 100% rename from BubbleSort.c rename to sorting/BubbleSort.c diff --git a/InsertionSort.c b/sorting/InsertionSort.c similarity index 100% rename from InsertionSort.c rename to sorting/InsertionSort.c diff --git a/OtherBubbleSort.c b/sorting/OtherBubbleSort.c similarity index 100% rename from OtherBubbleSort.c rename to sorting/OtherBubbleSort.c diff --git a/SelectionSort.c b/sorting/SelectionSort.c similarity index 100% rename from SelectionSort.c rename to sorting/SelectionSort.c