https://github.com/turingschool/f1-fall-winter-breaks-exercises/blob/master/fall/code-age-guesser.md
var correctAge = 38;
function guessAge(number) {
if (number > correctAge) {
return You guessed ${number}? I'm not that old!
} else if (number < correctAge) {
return You guessed ${number}? Hahaha!
} else {
return "WOW, great guess. What are the odds?"
}
}
Math.floor((Math.random() * 100) + 1);
var correctAge = 38;
function guessAge(number) {
if (number > correctAge) {
return You guessed ${number}? I'm not that old!
} else if (number < correctAge) {
return You guessed ${number}? Hahaha!
} else {
return "WOW, great guess. What are the odds?"
}
}
Math.floor((Math.random() * 100) + 1);