Skip to content

Instantly share code, notes, and snippets.

View theknoosh's full-sized avatar

Darrell Payne theknoosh

View GitHub Profile
@theknoosh
theknoosh / mob-coding-challenge.js
Created April 20, 2017 02:18 — forked from AndrewDubya/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// 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 (numPeople) {
var total_count = 0;
// loop through each of the people
for (var counter = 0; counter < numPeople; counter++ ){
// shake each person’s hand who you haven’t shaken yet
@theknoosh
theknoosh / mob-coding-challenge.js
Created April 20, 2017 02:15 — forked from AndrewDubya/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// 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) {
var total_count = 0;
// loop through each of the people
for (var counter = 0; counter < people;counter++ ){
// shake each person’s hand who you haven’t shaken yet
@theknoosh
theknoosh / mob-coding-challenge.js
Created April 20, 2017 02:12 — forked from AndrewDubya/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// 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) {
var total_count = 0;
// loop through each of the people
for (var counter = 0; counter < people;counter++ ){
// shake each person’s hand who you haven’t shaken yet
@theknoosh
theknoosh / mob-coding-challenge.js
Created April 20, 2017 02:09 — forked from jimthoburn/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// 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++ ){
}
@theknoosh
theknoosh / mob-coding-challenge.js
Created April 20, 2017 02:07 — forked from jimthoburn/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// 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++ ){
}
@theknoosh
theknoosh / mob-coding-challenge.js
Last active April 20, 2017 02:06 — forked from LearningNerd/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// 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++ ){
}
@theknoosh
theknoosh / mob-coding-challenge.js
Created April 20, 2017 01:53 — forked from LearningNerd/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// 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 count(){
for (people = 5; people > )
}
@theknoosh
theknoosh / mob-coding-challenge.js
Created April 20, 2017 01:50 — forked from LearningNerd/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// Write a function that calculates how many handshakes will
// occur with a given number of people