PRE-REQUISITES

  • Elixir 1.6

HOW TO RUN IT

  • Clone the repository
  • Open a new terminal window on the project folder
  • Execute the following command to compile the code elixirc calculator.ex student.ex subject.ex
  • Open the Iex running 'iex' on terminal
  • Run the following command to see the ouput of the code {result, best} = Calculator.start()
  • Run result to see the all the results of the code and best to see the best average generated