Skip to content

Instantly share code, notes, and snippets.

@FerumFlex
Created May 5, 2020 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FerumFlex/116542bf860f0a693a8a9e538a230957 to your computer and use it in GitHub Desktop.
Save FerumFlex/116542bf860f0a693a8a9e538a230957 to your computer and use it in GitHub Desktop.
-module(second).
-export([hypo/2,area/2]).
-import(first, [mult/2,area/3,square/2]).
hypo(A,B) ->
math:sqrt(first:square(A) + first:square(B)).
area(A,B) ->
first:area(A,B,hypo(A,B)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment