Created
August 9, 2017 10:15
-
-
Save jamessergeant/46270310153ec16d0fb934c11f0528bc to your computer and use it in GitHub Desktop.
Drills for Project 2.2.5 of Fundamentals of Web Development
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) { | |
return celsTemp * 9 / 5 + 32; | |
} | |
function fahrToCels(fahrTemp) { | |
return (fahrTemp - 32) * 5 / 9; | |
} | |
function isDivisible(divisee, divisor) { | |
return (divisee % divisor) === 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment