Code: int nDistHeightWidth[5][3] = { {43, 38, 8}, {10, 45, 4}, {35, 34, 10}, {46, 43, 12}, {39, 24, 18}, };
task main() {
/*Trying to sort objects by Height order
The ideal outcome (assuming the second column is height) would be
{39, 24, 18}, {35, 34, 10}, {43, 38, 8}, {46, 43, 12}, {10, 45, 4},
*/ }
|