Which[test1, value1, test2, value2, ...]evaluates each of the in turn, returning the value of the corresponding to the first one that yields True.
Switch If Piecewise
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »