- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Please could someone help me? my merge sort code is not sorting properly. this is the code: [CODE]#include <iostream> #include <string> using namespace std; void mergeArray(int a[],int sizeA, int b[],int sizeB,int result[],int *size); void display (int c[],int num); int main () { int a[]={45, 88, 12, 23, 65 }; int … |
|
Hello guys, i am trying to write an insertion sort program with any values entered by any users but im getting some weird numbers. could someone help me see what s wrong with my code. this is my code: [code]#include <iostream> using namespace std; int main() { int a,b,c,d,e,f; int … |
|
i am trying to write this program and i have no clue how to do it. Could someone help me please. thank you! a) The program implements insertion sort, merge sort, quick sort, and counting sort as subprograms or classes; b) The program reads input from a data file specified … |
|
Hello guys, i am trying to write an insertion sort program with any values entered by any users but im getting some weird numbers. could someone help me see what s wrong with my code. this is my code: [code]#include <iostream> using namespace std; int main() { int a,b,c,d,e,f; int … |