Hello everyone
Do you know how to classify a series of values from several variables in ascending order?
thank you,
Good night!
Define "classify"?
With 2-3 variables you can simply compare their values. With more variables it will be easier to put them all into an array and do "Array Sort".
Hello, thank you for your answer.
It would be a ranking in ascending order.
There are a dozen variables to classify.
What do you mean by "classify"? Display on the screen?
If you have a list of similar values (rankings), you should not use variables for storing them. Instead, store them in an array or dictionary. You can easily sort the array.
Develop games in your browser. Powerful, performant & highly capable.
I understand, thank you very much!