Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
float circular_area(struct Room *room) {
/* a circular room requires cutting a square carpet of length/width 2 * radius */
return (2 * room->radius) * (2 * room->radius);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment