Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 1
- function computeArea(width, height) {
- return width * height;
- }
- // 2
- function celsToFahr(celsTemp) {
- return celsTemp * 9/5 + 32;
- }
- function fahrToCels(fahrTemp) {
- return (fahrTemp - 32) * 5/9;
- }
- //3
- function isDivisible(divisee, divisor) {
- if
- (divisee % divisor === 0) { return true
- }
- else {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement