-
-
Save jimthoburn/f3c11d2c20a06adc7c2d7b3ad6b3400d to your computer and use it in GitHub Desktop.
A saved mob programming session with Learn Teach Code!
This file contains 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
// If we all shook each others' hands once (and only once), | |
// how many handshakes would that be?? | |
// Write a function that calculates how many handshakes will | |
// occur for a given number of people. | |
function countHandshakes (people) { | |
// loop through each of the people | |
for (var counter = 0; counter < people;counter++ ){ | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment