fork download
  1. -module(prog).
  2. -export([main/0]).
  3. -export([area/4]).
  4.  
  5. main() ->
  6. area("Pedro", 4, 5, 6).
  7.  
  8. area(N, M, O, P) ->io:fwrite([N, "\n"]), io:fwrite(+ M O).
  9.  
  10.  
  11.  
Compilation error #stdin compilation error #stdout 0.21s 8400KB
stdin
Standard input is empty
compilation info
./prog.erl:8: syntax error before: O
./prog.erl:3: function area/4 undefined
./prog.erl:6: function area/4 undefined
stdout
Standard output is empty