Need help with 8/13


#1

i need help with this.
can somone plz tell me what im doing wrong
the code was
// Define quarter
var quarter = function(number) {
return number/3
}
if (quarter(36) % 3 === 0 ) {
console.log("The statement is true");
} else {
console.log("The statement is false");
}

Oops, try again.
Hmm, it looks like your quarter function doesn't return -25 for -100.




#2

Ho,

to get a quarter you have to divide by 4 and not 3. If you change that it should work

Thanks

Keith


#3

thanks keith :grinning: