How can I explain the following case as a math equation: I have 3 variables (A, B and C) which contain different values every time, I want to say that value of X (the current variable value) equal to the greatest value of my previous variables (A or B or C).
Thanks in advance
Just use $X=\max(A,B,C)$, noting that all three are different.