Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

erlang code

% calculator
-module(calculator). 
-export([start/0, start1/0, start2/0]). 


start() -> 
 io:fwrite("~w", [1+1]).

start1() -> 
io:fwrite("~w", [2-1]).

start2() ->
io:fwrite("~w", [3*1]).

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.