% 关系运算符
-module(helloworld).
-export([start/0]).
start() ->
io:fwrite("~w~n",[3==2]),
io:fwrite("~w~n",[3/=2]),
io:fwrite("~w~n",[3<2]),
io:fwrite("~w~n",[3=<2]),
io:fwrite("~w~n",[3>2]),
io:fwrite("~w~n",[3>=2]).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266248.html