-module(helloworld).
-export([display/1,start/0]).
display(N) when N > 10 , is_integer(N) ->
io:fwrite("greater then 10");
display(N) when N < 10 ->
io:fwrite("Less than 10").
start() ->
display(11).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266338.html