So i have a script with 3 scores, and I want the code to find the highest score and print a message based on which variable is the highest score. I know that Math.max() finds the maximum, but I want it to find the variable name that has the maximum. How do i do this?
So i have a script with 3 scores, and I want the code to
Share
You can do the following