diff --git a/Searching_and_Sorting/Insertion_sort.cpp b/Searching_and_Sorting/Insertion_sort.cpp new file mode 100644 index 0000000..238d7cc --- /dev/null +++ b/Searching_and_Sorting/Insertion_sort.cpp @@ -0,0 +1,29 @@ +#include + +using namespace std; + +int main() + +{ int n; + +cin>>n; + +int a[n]; + + for(int i=0;i>a[i]; + +} + + sort(a,a+n); + + for(int i=0;i