Created
January 19, 2018 16:57
-
-
Save schamblee/451f78f26c476cc8382f73f9eb904892 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function computeArea(width, height) { | |
return width * height; | |
} | |
function celsToFahr(celsTemp) { | |
return celsTemp * 1.8 + 32; | |
} | |
function fahrToCels(fahrTemp) { | |
return (fahrTemp - 32) * 1.8; | |
} | |
function isDivisible(divisee, divisor) { | |
if (divisee % divisor === 0) { | |
return true; | |
} else { | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment