java - Insertion sort Numerical -


My strings have two arrays with 1 and ints with the second one. To print this number in narrow order, I want to use the entry type, numerically this is my code so far

These are the arrays:

  string [] Bn = {"Cardinals", "BlueJays", "Giant Birds", "Vulture", "Crows", "Mockingbirds", "Condors", "BaldEagles", "Pigeons", "RedHeadWoodPecker", "Hummingbirds" "Dodos"}; Integer [] BQ = {40,15,1,3,10,2,12,25,7,6,88,15}; Public Static Zero SortingMedic Ordernert (String [] BN, Int [] BQF) {For (Int I = 1; I & Lt; Beak.Lamp; I ++) {Int next = BKA [i]; String y = bn [ii]; // Find all entry locations // move all big elements up int j = i; While (j & gt; 0 & amp; amp; amp; amp; amp; amp; amp; & amp; BK [J-1] & gt; Next) {BN [J] = BN [J-1]; BQ [J] = BQ [J-1]; J--; } // insert element beac [j] = next; Arab [J] y =; }}}  

Where am I doing this wrong?

// edit

Do you want to do this? Public stable Zero Sort Enumerical Ordernert (string [] BN, Int [] BQF) {for (int i = 1; I


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -