I might be misunderstanding you but it sounds like you need to use hash tables-
You could have one hash table with String Variables for the Name
And another hash table with the float Variables for the values
Give them both the same "key" then retrieve them by that key
okay so i already learn and use that hash table.
looks like this is the solution.
but i still don't know how to get the logic correctly, and still not understand correctly what you mean.
(or you mean i should make 2 hash table? is the reference different?)
is there a "Check highest Value" feature in Hash Table?
example of my current hash table
keyName1 = 20
keyName2 = 1
keyName3 = 40
2 question for this :
1. any idea how i can take my "keyName3" (because it has the biggest value) and store "that key name that has biggest value" to [string value]?
2. for hash table problem solving, is there usually only use hash table or use array too?
anyone want to help is welcome, please