commit 5bbd04378441ec61d28eceefadb8e591aca47498
parent 516807e594d6d1bcbca96dd02e270cfa26c23cee
Author: Victor Adamson <a20vicad@student.his.se>
Date: Mon, 27 Nov 2023 16:14:47 +0100
Rewrote variable name
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Problem1/Problem1.cpp b/Problem1/Problem1.cpp
@@ -25,10 +25,10 @@ int main()
{
vector<int> unsorted = { 41, 12, 12, 53, 14, 5, 62, 7, 12, 28, 9 };
vector<int> sorted = bucketSort(unsorted);
- vector<int> funny = insertSort(unsorted);
+ vector<int> insertSorted = insertSort(unsorted);
cout << "The unsorted vector: " << vectorToString(unsorted) << endl;
cout << "The sorted vector: " << vectorToString(sorted) << endl;
- cout << "The sorted vector using InsertSort: " << vectorToString(funny) << endl;
+ cout << "The sorted vector using InsertSort: " << vectorToString(insertSorted) << endl;
return 0;
}