How to write equation to explain this case?

23 Views Asked by At

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

1

There are 1 best solutions below

1
On BEST ANSWER

Just use $X=\max(A,B,C)$, noting that all three are different.