Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created March 31, 2019 09:13
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 jasongorman/2afb46acd38ebb4d7b0d36574f1b7406 to your computer and use it in GitHub Desktop.
Save jasongorman/2afb46acd38ebb4d7b0d36574f1b7406 to your computer and use it in GitHub Desktop.
real function area_of_circular_room(room)
real room(1)
real radius
radius = room(1)
area_of_circular_room = (radius * 2)**2
return
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment