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
# W2D2 Checkpoint | |
Submit a link to your gist [here](https://goo.gl/forms/HywFjkNIU9mLM7c03) | |
1. Write a function `average` that takes two numbers as input (parameters), and | |
returns the average of those numbers. | |
function average(num1,num2){ | |
return (num1 + num2) / 2; | |
} |
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
/** | |
Pair Programming Practice. Submit a link to your gist here when you are done: | |
https://goo.gl/forms/mPumIHpIKF3W1gjt2 | |
*/ | |
/** | |
EXERCISE ONE | |
What is wrong with the following definitions of square? Write a sentence or two describing the issue(s); then, |