Created
January 24, 2018 03:42
-
-
Save jsjoeio/d9517f93a29f11c3227d92a5e39eaa5a to your computer and use it in GitHub Desktop.
Thinkful - Number drills
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
function computeArea(width, height) { | |
return width * height; | |
} | |
function celsToFahr(celsTemp) { | |
// your code here | |
return celsTemp * (9/5) + 32; | |
} | |
function fahrToCels(fahrTemp) { | |
// your code here | |
return (fahrTemp - 32) * (9/5); | |
} | |
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