Commit 95d5b83c authored by KSHITIJ SINGHA's avatar KSHITIJ SINGHA

changes within the function name of following files, bubblesort() --> sort_custom()

parent b1e0aaa8
a.out 100644 → 100755
No preview for this file type
......@@ -4,7 +4,7 @@
using namespace std;
void bubbleSort(vector<int>& a);
void sort_custom(vector<int>& a);
void printVector(vector<int> a);
......@@ -20,7 +20,7 @@ int main(int argc, char const *argv[])
a.push_back(num);
}
//printVector(a);
bubbleSort(a);
sort_custom(a);
printVector(a);
......
......@@ -2,7 +2,7 @@
using namespace std;
#include <vector>
void bubbleSort(vector<int>& a)
void sort_custom(vector<int>& a)
{
bool swapp = true;
while(swapp){
......
using namespace std;
void bubbleSort(vector<int>& a);
void sort_custom(vector<int>& a);
void printVector(vector<int> a);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment