From 6cead169d7ac43fbc67bf6f1d0d926bbfce66221 Mon Sep 17 00:00:00 2001 From: Anand Singh <59029929+anand722000@users.noreply.github.com> Date: Sun, 3 Oct 2021 15:56:38 +0530 Subject: [PATCH] Add files via upload This Sorting algorithm is different than others, I think this will make a good contribution from my side during Hacktoberfest. Thank you --- AnandSort.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 AnandSort.cpp diff --git a/AnandSort.cpp b/AnandSort.cpp new file mode 100644 index 0000000..1f67b09 --- /dev/null +++ b/AnandSort.cpp @@ -0,0 +1,24 @@ +#include +using namespace std; +int main(){ +int i,j,n,A[100]={0}; +cout<<"Enter Size Of the Array: "; +cin>>n; +int B[n]; +cout<<"Enter elements: "; +for(i=0;i>B[i]; } +for(i=0;i