Skip to content

Instantly share code, notes, and snippets.

@jasongorman

jasongorman/Carpet.java Secret

Created Apr 10, 2021
Embed
What would you like to do?
double quote(double pricePerSqMtr, Room room) {
double area = room.area();
return pricePerSqMtr * Math.ceil(area);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment