Erlang教程Erlang if 与 case Erlang if 与 case 上面的 find_max_and_min 函数可以找到温度的最大值与最小值。这儿介绍一个新的结构 if。If 的语法格式如下: if Condition 1 -> Act... AI君 14小时前 0℃ 0喜欢