Created
December 28, 2017 19:52
-
-
Save crystalattice/2160d0c5153da202439aa35781d517dc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
//Area | |
function computeArea(width, height) { | |
return width * height; | |
} | |
//Temp conversion | |
function celsToFahr(celsTemp) { | |
return (celsTemp * 9)/5 + 32; | |
} | |
function fahrToCels(fahrTemp) { | |
return (fahrTemp - 32) * 5/9; | |
} | |
//Division | |
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