It reads a set of banks and a set of customers with their goal loans, and each customer and bank is made as an indivisual process. Customers request loans to bank as until their goal is fulfilled. Banks sanction loans if it has the requested amount. An the end the results are printed.
prerequisites: Installation of Erlang and updating the environment variable. Instructions to run the project:
- Open shell
- cd inside project location.
- Type
erl
. - Type
c(money). c(customer). c(bank).
- To run
money:start().