Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. //drill 1
  2.  
  3. function computeArea(width, height) {
  4. return width * height;
  5. }
  6.  
  7.  
  8. // drill 2
  9.  
  10. function celsToFahr(celsTemp) {
  11. return celsTemp * 1.8 + 32;
  12. }
  13.  
  14. function fahrToCels(fahrTemp) {
  15. return (fahrTemp - 32) / .56;
  16. }
  17.  
  18.  
  19. function isDivisible(divisee, divisor) {
  20. return divisee % divisor === 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement