If anyone can give me an algorithm or some insight for this I would greatly appreciate it.
Let's say I have an array of 8 integers, what I would like to do is to be able to give each position in the array a name to represent it, for example
if I had array[0]=5, I'd like to be able to give that position the name "positionze ro" or something along those lines.
Ultimately what I want to do is to be able to have the character name follow the position if I sort the ints in the array, and then be able to print out the corresponding character name with its respective integer.
Thanks for your time!
Let's say I have an array of 8 integers, what I would like to do is to be able to give each position in the array a name to represent it, for example
if I had array[0]=5, I'd like to be able to give that position the name "positionze ro" or something along those lines.
Ultimately what I want to do is to be able to have the character name follow the position if I sort the ints in the array, and then be able to print out the corresponding character name with its respective integer.
Thanks for your time!
Comment